cpuset: simplify cpuset_node_allowed API
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git] / mm / oom_kill.c
index 5340f6b91312dee4bd18dd42efc7c9541ce5ed58..3348280eef89e80be305001013841fcde52ec2f9 100644 (file)
@@ -233,7 +233,7 @@ static enum oom_constraint constrained_alloc(struct zonelist *zonelist,
        /* Check this allocation failure is caused by cpuset's wall function */
        for_each_zone_zonelist_nodemask(zone, z, zonelist,
                        high_zoneidx, nodemask)
-               if (!cpuset_zone_allowed_softwall(zone, gfp_mask))
+               if (!cpuset_zone_allowed(zone, gfp_mask))
                        cpuset_limited = true;
 
        if (cpuset_limited) {