Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
[linux-2.6.git] / arch / ia64 / mm / init.c
index 674736129b876b1c0ce4204ae6fdae35429aaef8..cafa8776a53dbbb41443d8b07a2d7e91bd7b4cea 100644 (file)
@@ -606,7 +606,7 @@ mem_init (void)
        kclist_add(&kcore_vmem, (void *)VMALLOC_START, VMALLOC_END-VMALLOC_START);
        kclist_add(&kcore_kernel, _stext, _end - _stext);
 
-       for_each_pgdat(pgdat)
+       for_each_online_pgdat(pgdat)
                if (pgdat->bdata->node_bootmem_map)
                        totalram_pages += free_all_bootmem_node(pgdat);