Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93865
b: refs/heads/master
c: c71799c
h: refs/heads/master
i:
  93863: aa62c05
v: v3
  • Loading branch information
Heiko Carstens authored and Avi Kivity committed Apr 27, 2008
1 parent 34169a4 commit d6b85c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: f603f0731f43421403160f5f8b12e90f2e51f064
refs/heads/master: c71799c1f404c6e4f34fa64e6be39cd6149e5019
12 changes: 6 additions & 6 deletions trunk/include/asm-s390/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -553,12 +553,12 @@ static inline void ptep_rcp_copy(pte_t *ptep)

skey = page_get_storage_key(page_to_phys(page));
if (skey & _PAGE_CHANGED)
set_bit(RCP_GC_BIT, pgste);
set_bit_simple(RCP_GC_BIT, pgste);
if (skey & _PAGE_REFERENCED)
set_bit(RCP_GR_BIT, pgste);
if (test_and_clear_bit(RCP_HC_BIT, pgste))
set_bit_simple(RCP_GR_BIT, pgste);
if (test_and_clear_bit_simple(RCP_HC_BIT, pgste))
SetPageDirty(page);
if (test_and_clear_bit(RCP_HR_BIT, pgste))
if (test_and_clear_bit_simple(RCP_HR_BIT, pgste))
SetPageReferenced(page);
#endif
}
Expand Down Expand Up @@ -732,8 +732,8 @@ static inline int ptep_test_and_clear_young(struct vm_area_struct *vma,
young = ((page_get_storage_key(physpage) & _PAGE_REFERENCED) != 0);
rcp_lock(ptep);
if (young)
set_bit(RCP_GR_BIT, pgste);
young |= test_and_clear_bit(RCP_HR_BIT, pgste);
set_bit_simple(RCP_GR_BIT, pgste);
young |= test_and_clear_bit_simple(RCP_HR_BIT, pgste);
rcp_unlock(ptep);
return young;
#endif
Expand Down

0 comments on commit d6b85c2

Please sign in to comment.