hugetlb: introduce generic version of prepare_hugepage_range
[muen/linux.git] / arch / parisc / include / asm / hugetlb.h
index 5a102d7251e4c78f3058c0d3fdbe76487f70edfb..fb7e0fd858a37ff50364602f61533f191a4f8b0c 100644 (file)
@@ -22,6 +22,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)
 {