diff options
Diffstat (limited to 'include/asm-s390/pgtable.h')
-rw-r--r-- | include/asm-s390/pgtable.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-s390/pgtable.h b/include/asm-s390/pgtable.h index 4c0698c0dda5..76e8a7904e8a 100644 --- a/include/asm-s390/pgtable.h +++ b/include/asm-s390/pgtable.h | |||
@@ -518,6 +518,11 @@ static inline int pte_file(pte_t pte) | |||
518 | return (pte_val(pte) & mask) == _PAGE_TYPE_FILE; | 518 | return (pte_val(pte) & mask) == _PAGE_TYPE_FILE; |
519 | } | 519 | } |
520 | 520 | ||
521 | static inline int pte_special(pte_t pte) | ||
522 | { | ||
523 | return 0; | ||
524 | } | ||
525 | |||
521 | #define __HAVE_ARCH_PTE_SAME | 526 | #define __HAVE_ARCH_PTE_SAME |
522 | #define pte_same(a,b) (pte_val(a) == pte_val(b)) | 527 | #define pte_same(a,b) (pte_val(a) == pte_val(b)) |
523 | 528 | ||
@@ -715,6 +720,11 @@ static inline pte_t pte_mkyoung(pte_t pte) | |||
715 | return pte; | 720 | return pte; |
716 | } | 721 | } |
717 | 722 | ||
723 | static inline pte_t pte_mkspecial(pte_t pte) | ||
724 | { | ||
725 | return pte; | ||
726 | } | ||
727 | |||
718 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG | 728 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG |
719 | static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, | 729 | static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, |
720 | unsigned long addr, pte_t *ptep) | 730 | unsigned long addr, pte_t *ptep) |