aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-06-10 10:38:41 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 04:35:31 -0400
commitdf5f6c212cc049d1989b5ce71bb863a367c261e9 (patch)
tree59d18c5097134ad9f9b6eb61e0138ab817a866ce
parent12448e3ef3ae7fca7a7ad205084f45a67dcc4356 (diff)
x86: unify the reserve_bootmem() behavior of early_res_to_bootmem()
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/e820.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c
index a706e9057ba5..68aba413d403 100644
--- a/arch/x86/kernel/e820.c
+++ b/arch/x86/kernel/e820.c
@@ -635,12 +635,8 @@ void __init early_res_to_bootmem(u64 start, u64 end)
635 continue; 635 continue;
636 printk(KERN_INFO " early res: %d [%llx-%llx] %s\n", i, 636 printk(KERN_INFO " early res: %d [%llx-%llx] %s\n", i,
637 final_start, final_end - 1, r->name); 637 final_start, final_end - 1, r->name);
638#ifdef CONFIG_X86_64
639 reserve_bootmem_generic(final_start, final_end - final_start);
640#else
641 reserve_bootmem(final_start, final_end - final_start, 638 reserve_bootmem(final_start, final_end - final_start,
642 BOOTMEM_DEFAULT); 639 BOOTMEM_DEFAULT);
643#endif
644 } 640 }
645} 641}
646 642