memory-hotplug: remove redundant call of page_to_pfn
[linux-2.6-microblaze.git] / mm / slab.c
index 79e15f0..fee275b 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -3015,7 +3015,7 @@ retry:
        for_each_zone_zonelist(zone, z, zonelist, high_zoneidx) {
                nid = zone_to_nid(zone);
 
-               if (cpuset_zone_allowed_hardwall(zone, flags) &&
+               if (cpuset_zone_allowed(zone, flags | __GFP_HARDWALL) &&
                        get_node(cache, nid) &&
                        get_node(cache, nid)->free_objects) {
                                obj = ____cache_alloc_node(cache,