> -#ifdef HAVE_ARCH_HUGETLB_UNMAPPED_AREA > -unsigned long hugetlb_get_unmapped_area(struct file *file, unsigned long > addr, > - unsigned long len, unsigned long pgoff, unsigned long flags); > -#else > -static unsigned long > +unsigned long > hugetlb_get_unmapped_area(struct file *file, unsigned long addr, > unsigned long len, unsigned long pgoff, unsigned long flags) > { > @@ -150,7 +145,6 @@ full_search: > addr = ALIGN(vma->vm_end, HPAGE_SIZE); > } > } > -#endif
WTF ? get_unmapped_area() -has- to be arch in some platforms like power... I'm trying to improve the whole get_unmapped_area() to better handle multiple constraints (cacheability, page size, ...) though I haven't quite yet settled on an interface I like. Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/