hugetlb: introduce generic version of huge_ptep_get_and_clear()
[muen/linux.git] / arch / arm64 / include / asm / hugetlb.h
index 874661a1dff153b2d7453075bee4e052b5cc3312..6ae0bcafe162073f6563b9315a9831a5f51c7669 100644 (file)
@@ -66,6 +66,7 @@ extern void set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
 extern int huge_ptep_set_access_flags(struct vm_area_struct *vma,
                                      unsigned long addr, pte_t *ptep,
                                      pte_t pte, int dirty);
 extern int huge_ptep_set_access_flags(struct vm_area_struct *vma,
                                      unsigned long addr, pte_t *ptep,
                                      pte_t pte, int dirty);
+#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);
 extern void huge_ptep_set_wrprotect(struct mm_struct *mm,
 extern pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
                                     unsigned long addr, pte_t *ptep);
 extern void huge_ptep_set_wrprotect(struct mm_struct *mm,