hugetlb: introduce generic version of prepare_hugepage_range
[muen/linux.git] / arch / mips / include / asm / hugetlb.h
index b3d6bb53ee6ee567c0cd77b3356d6148e12b5a92..6ff2531cfb1dd5f8e34c0c1a38a81684283d0c10 100644 (file)
@@ -18,6 +18,7 @@ static inline int is_hugepage_only_range(struct mm_struct *mm,
        return 0;
 }
 
+#define __HAVE_ARCH_PREPARE_HUGEPAGE_RANGE
 static inline int prepare_hugepage_range(struct file *file,
                                         unsigned long addr,
                                         unsigned long len)