diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-18 17:27:08 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 10:39:01 +0200 |
commit | 95a71a45c250177854f7c530810c88a8a19a443b (patch) | |
tree | 9a063a825cdc5d088973ad06b7cecfb789c3a0dd /include/asm-x86/e820.h | |
parent | 66a6f8d539416c9664f3a04ecb12f55a0097ab8c (diff) | |
download | linux-95a71a45c250177854f7c530810c88a8a19a443b.tar.gz linux-95a71a45c250177854f7c530810c88a8a19a443b.tar.bz2 linux-95a71a45c250177854f7c530810c88a8a19a443b.zip |
x86: cleanup machine_specific_memory_setup, v2
1. let 64bit support 88 and e801 too
2. introduce default_machine_specific_memory_setup, and reuse it
for voyager
v2: fix 64 bit compiling
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/e820.h')
-rw-r--r-- | include/asm-x86/e820.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h index 83144cb6c68d..668a0d743d25 100644 --- a/include/asm-x86/e820.h +++ b/include/asm-x86/e820.h @@ -102,6 +102,7 @@ extern u64 e820_hole_size(u64 start, u64 end); extern void finish_e820_parsing(void); extern void e820_reserve_resources(void); extern void setup_memory_map(void); +extern char *default_machine_specific_memory_setup(void); extern char *machine_specific_memory_setup(void); extern char *memory_setup(void); @@ -116,9 +117,7 @@ extern char *memory_setup(void); #ifdef __KERNEL__ #include <linux/ioport.h> -#ifdef CONFIG_X86_32 #define HIGH_MEMORY (1024*1024) -#endif #endif /* __KERNEL__ */ #endif /* __ASM_E820_H */ |