hugetlb: introduce generic version of huge_ptep_set_wrprotect()
[muen/linux.git] / arch / arm64 / include / asm / hugetlb.h
index 3e7f6e69b28deb1a13be71e5f0eb1f36d3da6969..f4f69ae5466e8a822a2ccb6640d95756abe82029 100644 (file)
@@ -48,6 +48,7 @@ extern int huge_ptep_set_access_flags(struct vm_area_struct *vma,
 #define __HAVE_ARCH_HUGE_PTEP_GET_AND_CLEAR
 extern pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
                                     unsigned long addr, pte_t *ptep);
+#define __HAVE_ARCH_HUGE_PTEP_SET_WRPROTECT
 extern void huge_ptep_set_wrprotect(struct mm_struct *mm,
                                    unsigned long addr, pte_t *ptep);
 #define __HAVE_ARCH_HUGE_PTEP_CLEAR_FLUSH