aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/e820.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-13 05:00:56 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 04:36:17 -0400
commitd2dbf343329dc777d77488743465f7be4245971d (patch)
tree6c52b30af5ed0d22edcd6f7c514ee922dc30ff84 /arch/x86/kernel/e820.c
parentb1f006b65c12b85df81f12c1073ad18fd26f4a16 (diff)
x86: clean up reserve_bootmem_generic() and port it to 32-bit
1. add reserve_bootmem_generic for 32bit 2. change len to unsigned long 3. make early_res_to_bootmem to use it Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/e820.c')
-rw-r--r--arch/x86/kernel/e820.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c
index 4f2cd5d179e2..774063f11be0 100644
--- a/arch/x86/kernel/e820.c
+++ b/arch/x86/kernel/e820.c
@@ -635,7 +635,7 @@ 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 reserve_bootmem(final_start, final_end - final_start, 638 reserve_bootmem_generic(final_start, final_end - final_start,
639 BOOTMEM_DEFAULT); 639 BOOTMEM_DEFAULT);
640 } 640 }
641} 641}