]> git.ipfire.org Git - people/arne_f/kernel.git/blobdiff - include/asm-generic/mm_hooks.h
mm/gup: Drop the arch_pte_access_permitted() MMU callback
[people/arne_f/kernel.git] / include / asm-generic / mm_hooks.h
index cc5d9a1405df925c43ec62a03be03c30ae921f56..41e5b6784b975d1974604c6265486ab858c3865f 100644 (file)
@@ -32,10 +32,4 @@ static inline bool arch_vma_access_permitted(struct vm_area_struct *vma,
        /* by default, allow everything */
        return true;
 }
-
-static inline bool arch_pte_access_permitted(pte_t pte, bool write)
-{
-       /* by default, allow everything */
-       return true;
-}
 #endif /* _ASM_GENERIC_MM_HOOKS_H */