[PATCH 1/8] x86 boot: x86_64 build reserve_bootmem_generic fix
From: Paul Jackson
Date: Mon Jun 16 2008 - 02:30:32 EST
From: Paul Jackson <pj@xxxxxxx>
Fix x86_64 build. The addition of a third 'flags' argument
to reserve_bootmem() and similar routines missed one instance.
Signed-off-by: Paul Jackson <pj@xxxxxxx>
---
arch/x86/kernel/e820.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- linux.orig/arch/x86/kernel/e820.c 2008-06-10 21:31:21.000000000 -0700
+++ linux/arch/x86/kernel/e820.c 2008-06-10 22:37:27.256448098 -0700
@@ -636,7 +636,8 @@ void __init early_res_to_bootmem(u64 sta
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);
+ reserve_bootmem_generic(final_start, final_end - final_start,
+ BOOTMEM_DEFAULT);
#else
reserve_bootmem(final_start, final_end - final_start,
BOOTMEM_DEFAULT);
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/