diff options
Diffstat (limited to 'mm/hugetlb.c')
-rw-r--r-- | mm/hugetlb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c index c82290b9c1fc..5d54d4b8df01 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c | |||
@@ -690,8 +690,7 @@ static void prep_new_huge_page(struct hstate *h, struct page *page, int nid) | |||
690 | put_page(page); /* free it into the hugepage allocator */ | 690 | put_page(page); /* free it into the hugepage allocator */ |
691 | } | 691 | } |
692 | 692 | ||
693 | static void __init prep_compound_gigantic_page(struct page *page, | 693 | static void prep_compound_gigantic_page(struct page *page, unsigned long order) |
694 | unsigned long order) | ||
695 | { | 694 | { |
696 | int i; | 695 | int i; |
697 | int nr_pages = 1 << order; | 696 | int nr_pages = 1 << order; |