]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/buffer.c
kbuild: create a way to create preprocessor constants from C expressions
[linux-2.6-omap-h63xx.git] / fs / buffer.c
index 9b5434a80479aad0db053b8e11b980f29b626cfe..7d51e649b19a7d8f84061186fbd84326420f44f8 100644 (file)
@@ -360,16 +360,17 @@ void invalidate_bdev(struct block_device *bdev)
  */
 static void free_more_memory(void)
 {
-       struct zone **zones;
+       struct zone *zone;
        int nid;
 
        wakeup_pdflush(1024);
        yield();
 
        for_each_online_node(nid) {
-               zones = first_zones_zonelist(node_zonelist(nid, GFP_NOFS),
-                                               gfp_zone(GFP_NOFS));
-               if (*zones)
+               (void)first_zones_zonelist(node_zonelist(nid, GFP_NOFS),
+                                               gfp_zone(GFP_NOFS), NULL,
+                                               &zone);
+               if (zone)
                        try_to_free_pages(node_zonelist(nid, GFP_NOFS), 0,
                                                GFP_NOFS);
        }