aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390/pgtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-s390/pgtable.h')
-rw-r--r--include/asm-s390/pgtable.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-s390/pgtable.h b/include/asm-s390/pgtable.h
index 7fe5c4b6d82d..4c0698c0dda5 100644
--- a/include/asm-s390/pgtable.h
+++ b/include/asm-s390/pgtable.h
@@ -553,12 +553,12 @@ static inline void ptep_rcp_copy(pte_t *ptep)
553 553
554 skey = page_get_storage_key(page_to_phys(page)); 554 skey = page_get_storage_key(page_to_phys(page));
555 if (skey & _PAGE_CHANGED) 555 if (skey & _PAGE_CHANGED)
556 set_bit(RCP_GC_BIT, pgste); 556 set_bit_simple(RCP_GC_BIT, pgste);
557 if (skey & _PAGE_REFERENCED) 557 if (skey & _PAGE_REFERENCED)
558 set_bit(RCP_GR_BIT, pgste); 558 set_bit_simple(RCP_GR_BIT, pgste);
559 if (test_and_clear_bit(RCP_HC_BIT, pgste)) 559 if (test_and_clear_bit_simple(RCP_HC_BIT, pgste))
560 SetPageDirty(page); 560 SetPageDirty(page);
561 if (test_and_clear_bit(RCP_HR_BIT, pgste)) 561 if (test_and_clear_bit_simple(RCP_HR_BIT, pgste))
562 SetPageReferenced(page); 562 SetPageReferenced(page);
563#endif 563#endif
564} 564}
@@ -732,8 +732,8 @@ static inline int ptep_test_and_clear_young(struct vm_area_struct *vma,
732 young = ((page_get_storage_key(physpage) & _PAGE_REFERENCED) != 0); 732 young = ((page_get_storage_key(physpage) & _PAGE_REFERENCED) != 0);
733 rcp_lock(ptep); 733 rcp_lock(ptep);
734 if (young) 734 if (young)
735 set_bit(RCP_GR_BIT, pgste); 735 set_bit_simple(RCP_GR_BIT, pgste);
736 young |= test_and_clear_bit(RCP_HR_BIT, pgste); 736 young |= test_and_clear_bit_simple(RCP_HR_BIT, pgste);
737 rcp_unlock(ptep); 737 rcp_unlock(ptep);
738 return young; 738 return young;
739#endif 739#endif