hugetlb: introduce generic version of huge_ptep_set_wrprotect()
[muen/linux.git] / arch / powerpc / include / asm / nohash / 32 / pgtable.h
index a507a65b0866b9907cbf1cce71711c2ef1fa0765..6c82b9660c552218f5504bfe81a493b3dba74cc0 100644 (file)
@@ -246,12 +246,6 @@ static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr,
 {
        pte_update(ptep, (_PAGE_RW | _PAGE_HWWRITE), _PAGE_RO);
 }
-static inline void huge_ptep_set_wrprotect(struct mm_struct *mm,
-                                          unsigned long addr, pte_t *ptep)
-{
-       ptep_set_wrprotect(mm, addr, ptep);
-}
-
 
 static inline void __ptep_set_access_flags(struct vm_area_struct *vma,
                                           pte_t *ptep, pte_t entry,