diff options
Diffstat (limited to 'include/asm-powerpc/pgtable-ppc32.h')
-rw-r--r-- | include/asm-powerpc/pgtable-ppc32.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-powerpc/pgtable-ppc32.h b/include/asm-powerpc/pgtable-ppc32.h index dde466bd2cea..e1d2bb57f1d5 100644 --- a/include/asm-powerpc/pgtable-ppc32.h +++ b/include/asm-powerpc/pgtable-ppc32.h | |||
@@ -652,6 +652,12 @@ static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, | |||
652 | { | 652 | { |
653 | pte_update(ptep, (_PAGE_RW | _PAGE_HWWRITE), 0); | 653 | pte_update(ptep, (_PAGE_RW | _PAGE_HWWRITE), 0); |
654 | } | 654 | } |
655 | static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, | ||
656 | unsigned long addr, pte_t *ptep) | ||
657 | { | ||
658 | ptep_set_wrprotect(mm, addr, ptep); | ||
659 | } | ||
660 | |||
655 | 661 | ||
656 | #define __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS | 662 | #define __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS |
657 | static inline void __ptep_set_access_flags(pte_t *ptep, pte_t entry, int dirty) | 663 | static inline void __ptep_set_access_flags(pte_t *ptep, pte_t entry, int dirty) |