hugetlb: introduce generic version of huge_ptep_set_wrprotect()
[muen/linux.git] / arch / arm / include / asm / hugetlb-3level.h
index b897541520efec4cc6396e98b25c92f9b4bbd583..8247cd6a2ac67348d7c70f7ec70e9511d7e2d9e8 100644 (file)
@@ -37,12 +37,6 @@ static inline pte_t huge_ptep_get(pte_t *ptep)
        return retval;
 }
 
        return retval;
 }
 
-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 int huge_ptep_set_access_flags(struct vm_area_struct *vma,
                                             unsigned long addr, pte_t *ptep,
                                             pte_t pte, int dirty)
 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma,
                                             unsigned long addr, pte_t *ptep,
                                             pte_t pte, int dirty)