Skip to content

Commit c0f15da

Browse files
akpm00sfrothwell
authored andcommitted
mm-page_alloc-rename-__gfp_wait-to-__gfp_reclaim-fix
fix build Cc: Mel Gorman <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 415a13c commit c0f15da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mm/page_alloc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2183,7 +2183,8 @@ static bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
21832183
return false;
21842184
if (fail_page_alloc.ignore_gfp_highmem && (gfp_mask & __GFP_HIGHMEM))
21852185
return false;
2186-
if (fail_page_alloc.ignore_gfp_wait && (gfp_mask & __GFP_DIRECT_RECLAIM))
2186+
if (fail_page_alloc.ignore_gfp_reclaim &&
2187+
(gfp_mask & __GFP_DIRECT_RECLAIM))
21872188
return false;
21882189

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

0 commit comments

Comments
 (0)