x86: unify the reserve_bootmem() behavior of early_res_to_bootmem()
authorIngo Molnar <mingo@elte.hu>
Tue, 10 Jun 2008 14:38:41 +0000 (16:38 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 08:35:31 +0000 (10:35 +0200)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/e820.c

index a706e9057ba54ac0c7be026d6438481be9dd1c5f..68aba413d40364373b598336adf6bbb108333c7f 100644 (file)
@@ -635,12 +635,8 @@ void __init early_res_to_bootmem(u64 start, u64 end)
                        continue;
                printk(KERN_INFO "  early res: %d [%llx-%llx] %s\n", i,
                        final_start, final_end - 1, r->name);
-#ifdef CONFIG_X86_64
-               reserve_bootmem_generic(final_start, final_end - final_start);
-#else
                reserve_bootmem(final_start, final_end - final_start,
                                BOOTMEM_DEFAULT);
-#endif
        }
 }