]> err.no Git - linux-2.6/blobdiff - mm/page_alloc.c
rt2x00: Removed unused descriptor read in txdone
[linux-2.6] / mm / page_alloc.c
index 7f4c66ff65b796a840086301eccf2c9c94044076..8e83f02cd2d3d0bdb7124588e11e6d2950bd67ea 100644 (file)
@@ -2807,7 +2807,7 @@ int zone_wait_table_init(struct zone *zone, unsigned long zone_size_pages)
        alloc_size = zone->wait_table_hash_nr_entries
                                        * sizeof(wait_queue_head_t);
 
-       if (system_state == SYSTEM_BOOTING) {
+       if (!slab_is_available()) {
                zone->wait_table = (wait_queue_head_t *)
                        alloc_bootmem_node(pgdat, alloc_size);
        } else {