summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_64.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-05-20 20:10:58 -0700
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 11:35:53 +0200
commitbf62f3981c7076714e3b9f5fa6989a806cad02bf (patch)
tree8c47942af4b670d6381e853ff22f085b336ebc68 /arch/x86/kernel/setup_64.c
parentaafbdf71f1d3aeffd679b1a86e1b28f71515856c (diff)
downloadblackbird-op-linux-bf62f3981c7076714e3b9f5fa6989a806cad02bf.tar.gz
blackbird-op-linux-bf62f3981c7076714e3b9f5fa6989a806cad02bf.zip
x86: move e820_mark_nosave_regions to e820.c
and make e820_mark_nosave_regions to take limit_pfn to use max_low_pfn for 32bit and end_pfn for 64bit Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/setup_64.c')
-rw-r--r--arch/x86/kernel/setup_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index 6dff1286ad8a..975a5da46e49 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -516,7 +516,7 @@ void __init setup_arch(char **cmdline_p)
* We trust e820 completely. No explicit ROM probing in memory.
*/
e820_reserve_resources();
- e820_mark_nosave_regions();
+ e820_mark_nosave_regions(end_pfn);
/* request I/O space for devices used on all i[345]86 PCs */
for (i = 0; i < ARRAY_SIZE(standard_io_resources); i++)
OpenPOWER on IntegriCloud