mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
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:
parent
8a9d0c9766
commit
f85936494a
1 changed files with 1 additions and 1 deletions
|
@ -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)) ||
|
||||
|
|
Loading…
Reference in a new issue