]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-page_alloc-rename-__gfp_wait-to-__gfp_reclaim-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Oct 2015 22:03:07 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:07 +0000 (09:03 +1100)
fix build

Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c

index 2db29dac02f5bac77020d90f6743fb27cdb5aefc..8dee6e77f47568fa5b7888162547a9993c3ec736 100644 (file)
@@ -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);