hugetlb: move definition of is_vm_hugetlb_page() to hugepage_inline.h
is_vm_hugetlb_page() is a widely used inline function to insert hooks into hugetlb code. But we can't use it in pagemap.h because of circular dependency of the header files. This patch removes this limitation. Acked-by: NMel Gorman <mel@csn.ul.ie> Acked-by: NFengguang Wu <fengguang.wu@intel.com> Signed-off-by: NNaoya Horiguchi <n-horiguchi@ah.jp.nec.com> Signed-off-by: NAndi Kleen <ak@linux.intel.com>
Showing
include/linux/hugetlb_inline.h
0 → 100644
想要评论请 注册 或 登录