]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/vmscan.c
[PATCH] slab: alpha inlining fix
[karo-tx-linux.git] / mm / vmscan.c
index a740778f688da277d35eb0d15a60168257dbe42e..0ea71e887bb6e3fdf51d9b18ad56fe993423249d 100644 (file)
@@ -1258,9 +1258,9 @@ void wakeup_kswapd(struct zone *zone, int order)
                pgdat->kswapd_max_order = order;
        if (!cpuset_zone_allowed(zone, __GFP_HARDWALL))
                return;
-       if (!waitqueue_active(&zone->zone_pgdat->kswapd_wait))
+       if (!waitqueue_active(&pgdat->kswapd_wait))
                return;
-       wake_up_interruptible(&zone->zone_pgdat->kswapd_wait);
+       wake_up_interruptible(&pgdat->kswapd_wait);
 }
 
 #ifdef CONFIG_PM