]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/pgtable-ppc32.h
powerpc: Make sure that include/asm-powerpc/spinlock.h does not trigger compilation...
[linux-2.6] / include / asm-powerpc / pgtable-ppc32.h
index dde466bd2cea00fdb51d1e34e2391287e56e5f76..e1d2bb57f1d5d05c79354a5ad3dbd7ad43117792 100644 (file)
@@ -652,6 +652,12 @@ static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr,
 {
        pte_update(ptep, (_PAGE_RW | _PAGE_HWWRITE), 0);
 }
+static inline void huge_ptep_set_wrprotect(struct mm_struct *mm,
+                                          unsigned long addr, pte_t *ptep)
+{
+       ptep_set_wrprotect(mm, addr, ptep);
+}
+
 
 #define __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS
 static inline void __ptep_set_access_flags(pte_t *ptep, pte_t entry, int dirty)