mm: Fix compile of zone counter for cma pages

The restructure of free-page stealing code requires a
compile fix that was introduced by the zone counter for
cma pages.

fixes:

"mm/page_allo.c: restructure free-page stealing code and
fix a bug"

"mm: add zone counter for cma pages"
This commit is contained in:
syphyr 2019-04-14 00:35:36 +02:00
parent 8a9d0c9766
commit f85936494a

View file

@ -1124,7 +1124,7 @@ static int try_to_steal_freepages(struct zone *zone, struct page *page,
page_group_by_mobility_disabled) {
int pages;
pages = move_freepages_block(zone, page, start_type);
pages = move_freepages_block(zone, page, start_type, 0);
/* Claim the whole block if over half of it is free */
if (pages >= (1 << (pageblock_order-1)) ||