]> err.no Git - linux-2.6/blobdiff - mm/page_alloc.c
[AVR32] ratelimit segfault reporting rate
[linux-2.6] / mm / page_alloc.c
index d8970623c566ba8066831a67c8d3a29c57b4eac4..bd8e33582d25555af55c93d258a842c173a8072c 100644 (file)
@@ -2689,7 +2689,7 @@ static void __init_refok alloc_node_mem_map(struct pglist_data *pgdat)
                        map = alloc_bootmem_node(pgdat, size);
                pgdat->node_mem_map = map + (pgdat->node_start_pfn - start);
        }
-#ifdef CONFIG_FLATMEM
+#ifndef CONFIG_NEED_MULTIPLE_NODES
        /*
         * With no DISCONTIG, the global mem_map is just set as node 0's
         */