Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264191
b: refs/heads/master
c: 05873df
h: refs/heads/master
i:
  264189: 83caa6d
  264187: 24be1fe
  264183: 175acd9
  264175: d8c9ffd
  264159: f2dc179
  264127: 3bc0421
  264063: 5d7ea9b
  263935: 2aeffdc
  263679: 9b318b9
  263167: b80f9c7
  262143: 10438bb
v: v3
  • Loading branch information
Carsten Otte authored and Martin Schwidefsky committed Sep 26, 2011
1 parent d557b9b commit b06abea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f9783ec862ea8ce0071f34a7fd028229d9fd98b4
refs/heads/master: 05873df981ca1dd32f398e7b4e19864de907e064
7 changes: 4 additions & 3 deletions trunk/arch/s390/mm/pgtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,22 +303,23 @@ int gmap_unmap_segment(struct gmap *gmap, unsigned long to, unsigned long len)
/* Walk the guest addr space page table */
table = gmap->table + (((to + off) >> 53) & 0x7ff);
if (*table & _REGION_ENTRY_INV)
return 0;
goto out;
table = (unsigned long *)(*table & _REGION_ENTRY_ORIGIN);
table = table + (((to + off) >> 42) & 0x7ff);
if (*table & _REGION_ENTRY_INV)
return 0;
goto out;
table = (unsigned long *)(*table & _REGION_ENTRY_ORIGIN);
table = table + (((to + off) >> 31) & 0x7ff);
if (*table & _REGION_ENTRY_INV)
return 0;
goto out;
table = (unsigned long *)(*table & _REGION_ENTRY_ORIGIN);
table = table + (((to + off) >> 20) & 0x7ff);

/* Clear segment table entry in guest address space. */
flush |= gmap_unlink_segment(gmap, table);
*table = _SEGMENT_ENTRY_INV;
}
out:
up_read(&gmap->mm->mmap_sem);
if (flush)
gmap_flush_tlb(gmap);
Expand Down

0 comments on commit b06abea

Please sign in to comment.