diff options
Diffstat (limited to 'include/asm-s390/pgtable.h')
-rw-r--r-- | include/asm-s390/pgtable.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/asm-s390/pgtable.h b/include/asm-s390/pgtable.h index 1039bf6b657f..3208dc6c412c 100644 --- a/include/asm-s390/pgtable.h +++ b/include/asm-s390/pgtable.h | |||
@@ -669,19 +669,6 @@ ptep_clear_flush_young(struct vm_area_struct *vma, | |||
669 | return ptep_test_and_clear_young(vma, address, ptep); | 669 | return ptep_test_and_clear_young(vma, address, ptep); |
670 | } | 670 | } |
671 | 671 | ||
672 | static inline int ptep_test_and_clear_dirty(struct vm_area_struct *vma, unsigned long addr, pte_t *ptep) | ||
673 | { | ||
674 | return 0; | ||
675 | } | ||
676 | |||
677 | static inline int | ||
678 | ptep_clear_flush_dirty(struct vm_area_struct *vma, | ||
679 | unsigned long address, pte_t *ptep) | ||
680 | { | ||
681 | /* No need to flush TLB; bits are in storage key */ | ||
682 | return ptep_test_and_clear_dirty(vma, address, ptep); | ||
683 | } | ||
684 | |||
685 | static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) | 672 | static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) |
686 | { | 673 | { |
687 | pte_t pte = *ptep; | 674 | pte_t pte = *ptep; |
@@ -939,8 +926,6 @@ extern void memmap_init(unsigned long, int, unsigned long, unsigned long); | |||
939 | #define __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS | 926 | #define __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS |
940 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG | 927 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG |
941 | #define __HAVE_ARCH_PTEP_CLEAR_YOUNG_FLUSH | 928 | #define __HAVE_ARCH_PTEP_CLEAR_YOUNG_FLUSH |
942 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_DIRTY | ||
943 | #define __HAVE_ARCH_PTEP_CLEAR_DIRTY_FLUSH | ||
944 | #define __HAVE_ARCH_PTEP_GET_AND_CLEAR | 929 | #define __HAVE_ARCH_PTEP_GET_AND_CLEAR |
945 | #define __HAVE_ARCH_PTEP_CLEAR_FLUSH | 930 | #define __HAVE_ARCH_PTEP_CLEAR_FLUSH |
946 | #define __HAVE_ARCH_PTEP_SET_WRPROTECT | 931 | #define __HAVE_ARCH_PTEP_SET_WRPROTECT |