hugetlb: introduce generic version of prepare_hugepage_range
[muen/linux.git] / arch / sh / include / asm / hugetlb.h
index 54f65094efe6a39391373c137380321c683c4679..f1bbd255ee4386745a5ab160f4038b15c7c334c2 100644 (file)
@@ -15,6 +15,7 @@ static inline int is_hugepage_only_range(struct mm_struct *mm,
  * If the arch doesn't supply something else, assume that hugepage
  * size aligned regions are ok without further preparation.
  */
+#define __HAVE_ARCH_PREPARE_HUGEPAGE_RANGE
 static inline int prepare_hugepage_range(struct file *file,
                        unsigned long addr, unsigned long len)
 {