]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/x86/kernel/setup.c
x86: Make 64 bit use early_res instead of bootmem before slab
[net-next-2.6.git] / arch / x86 / kernel / setup.c
index ea4141b48518525699fe0bb0c0561c5e9c1d0354..d49e168bda8c5d545ae819178b45ff4325ec2d66 100644 (file)
@@ -967,7 +967,9 @@ void __init setup_arch(char **cmdline_p)
 #endif
 
        initmem_init(0, max_pfn, acpi, k8);
+#ifndef CONFIG_NO_BOOTMEM
        early_res_to_bootmem(0, max_low_pfn<<PAGE_SHIFT);
+#endif
 
        dma32_reserve_bootmem();