Skip to content

Commit

Permalink
mm-page_alloc-rename-__gfp_wait-to-__gfp_reclaim-fix
Browse files Browse the repository at this point in the history
fix build

Cc: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
akpm00 authored and sfrothwell committed Oct 21, 2015
1 parent 967d8b4 commit 4508e17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2183,7 +2183,8 @@ static bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
return false;
if (fail_page_alloc.ignore_gfp_highmem && (gfp_mask & __GFP_HIGHMEM))
return false;
if (fail_page_alloc.ignore_gfp_wait && (gfp_mask & __GFP_DIRECT_RECLAIM))
if (fail_page_alloc.ignore_gfp_reclaim &&
(gfp_mask & __GFP_DIRECT_RECLAIM))
return false;

return should_fail(&fail_page_alloc.attr, 1 << order);
Expand Down

0 comments on commit 4508e17

Please sign in to comment.