aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/e820.h
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-18 20:27:08 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 04:39:01 -0400
commit95a71a45c250177854f7c530810c88a8a19a443b (patch)
tree9a063a825cdc5d088973ad06b7cecfb789c3a0dd /include/asm-x86/e820.h
parent66a6f8d539416c9664f3a04ecb12f55a0097ab8c (diff)
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.h3
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);
102extern void finish_e820_parsing(void); 102extern void finish_e820_parsing(void);
103extern void e820_reserve_resources(void); 103extern void e820_reserve_resources(void);
104extern void setup_memory_map(void); 104extern void setup_memory_map(void);
105extern char *default_machine_specific_memory_setup(void);
105extern char *machine_specific_memory_setup(void); 106extern char *machine_specific_memory_setup(void);
106extern char *memory_setup(void); 107extern char *memory_setup(void);
107 108
@@ -116,9 +117,7 @@ extern char *memory_setup(void);
116#ifdef __KERNEL__ 117#ifdef __KERNEL__
117#include <linux/ioport.h> 118#include <linux/ioport.h>
118 119
119#ifdef CONFIG_X86_32
120#define HIGH_MEMORY (1024*1024) 120#define HIGH_MEMORY (1024*1024)
121#endif
122#endif /* __KERNEL__ */ 121#endif /* __KERNEL__ */
123 122
124#endif /* __ASM_E820_H */ 123#endif /* __ASM_E820_H */