[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080616062945.14597.78009.sendpatchset@polaris-admin.engr.sgi.com>
Date: Sun, 15 Jun 2008 23:29:45 -0700
From: Paul Jackson <pj@....com>
To: "Ingo Molnar" <mingo@...e.hu>
Cc: "Thomas Gleixner" <tglx@...utronix.de>,
"Yinghai Lu" <yhlu.kernel@...il.com>,
"Jack Steiner" <steiner@....com>, "Mike Travis" <travis@....com>,
"H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org,
"Huang, Ying" <ying.huang@...el.com>,
"Andi Kleen" <andi@...stfloor.org>,
"Andrew Morton" <akpm@...ux-foundation.org>,
Paul Jackson <pj@....com>
Subject: [PATCH 1/8] x86 boot: x86_64 build reserve_bootmem_generic fix
From: Paul Jackson <pj@....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@....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@....com> 1.650.933.1373
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists