aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hugetlb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h
index f479700df61b..0b73c536afd2 100644
--- a/include/linux/hugetlb.h
+++ b/include/linux/hugetlb.h
@@ -228,6 +228,8 @@ struct huge_bootmem_page {
228 struct hstate *hstate; 228 struct hstate *hstate;
229}; 229};
230 230
231struct page *alloc_huge_page_node(struct hstate *h, int nid);
232
231/* arch callback */ 233/* arch callback */
232int __init alloc_bootmem_huge_page(struct hstate *h); 234int __init alloc_bootmem_huge_page(struct hstate *h);
233 235
@@ -303,6 +305,7 @@ static inline struct hstate *page_hstate(struct page *page)
303 305
304#else 306#else
305struct hstate {}; 307struct hstate {};
308#define alloc_huge_page_node(h, nid) NULL
306#define alloc_bootmem_huge_page(h) NULL 309#define alloc_bootmem_huge_page(h) NULL
307#define hstate_file(f) NULL 310#define hstate_file(f) NULL
308#define hstate_vma(v) NULL 311#define hstate_vma(v) NULL