lkml.org 
[lkml]   [2008]   [Jun]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
FromPaul Jackson <>
DateSun, 15 Jun 2008 23:29:45 -0700
Subject[PATCH 1/8] x86 boot: x86_64 build reserve_bootmem_generic fix
From: Paul Jackson <pj@sgi.com>

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@sgi.com>

---
 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@sgi.com> 1.650.933.1373


\
 
 \ /
  Last update: 2008-06-16 08:55    [from the cache]
©2003-2008