X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Fhugetlb.h;h=b4570b62ab8557d9748f7887b878bb341b87c553;hb=681e14730c73cc2c71af282c001de6bc71c22f00;hp=3f3e7a648da3947c76839e02670c75c2cfd27710;hpb=c207908fcc451e31d7fbba31541bd04f93787eb4;p=powerpc.git diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index 3f3e7a648d..b4570b62ab 100644 --- a/include/linux/hugetlb.h +++ b/include/linux/hugetlb.h @@ -189,4 +189,10 @@ static inline void set_file_hugepages(struct file *file) #endif /* !CONFIG_HUGETLBFS */ +#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); +#endif /* HAVE_ARCH_HUGETLB_UNMAPPED_AREA */ + #endif /* _LINUX_HUGETLB_H */