diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 92871579cbee3b8feb12376df03ad2969f942c48..7e208f0ad68ccb1468b408b5a50a981be8beb3a5 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1422,7 +1422,7 @@ int capture_free_page(struct page *page, int alloc_order, int migratetype) } } - return 1UL << order; + return 1UL << alloc_order; } /*