hugetlb: introduce generic version of huge_ptep_get_and_clear()
[muen/linux.git] / arch / mips / include / asm / hugetlb.h
index 8ea439041d5d36c3eadfd21831e0272d66dd203d..0959cc5a41fa876c191dd1815853ab3cc3df4672 100644 (file)
@@ -36,6 +36,7 @@ static inline int prepare_hugepage_range(struct file *file,
        return 0;
 }
 
+#define __HAVE_ARCH_HUGE_PTEP_GET_AND_CLEAR
 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
                                            unsigned long addr, pte_t *ptep)
 {