diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-05-20 23:10:58 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-25 05:35:53 -0400 |
commit | bf62f3981c7076714e3b9f5fa6989a806cad02bf (patch) | |
tree | 8c47942af4b670d6381e853ff22f085b336ebc68 /arch/x86/kernel/setup_32.c | |
parent | aafbdf71f1d3aeffd679b1a86e1b28f71515856c (diff) |
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_32.c')
-rw-r--r-- | arch/x86/kernel/setup_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c index 3c451d143eba..e1173aecf69a 100644 --- a/arch/x86/kernel/setup_32.c +++ b/arch/x86/kernel/setup_32.c | |||
@@ -820,7 +820,7 @@ void __init setup_arch(char **cmdline_p) | |||
820 | #endif | 820 | #endif |
821 | 821 | ||
822 | e820_setup_gap(); | 822 | e820_setup_gap(); |
823 | e820_mark_nosave_regions(); | 823 | e820_mark_nosave_regions(max_low_pfn); |
824 | 824 | ||
825 | #ifdef CONFIG_VT | 825 | #ifdef CONFIG_VT |
826 | #if defined(CONFIG_VGA_CONSOLE) | 826 | #if defined(CONFIG_VGA_CONSOLE) |