diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-16 22:58:28 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 04:38:25 -0400 |
commit | 064d25f12014ae1d97c2882f9ab874995321f2b2 (patch) | |
tree | a6f39b226bbae5a2abc15d911cdf12d01b9c8c19 /include/asm-x86/e820.h | |
parent | cc9f7a0ccf000d4db5fbdc7b0ae48eefea102f69 (diff) |
x86: merge setup_memory_map with e820
... and kill e820_32/64.c and e820_32/64.h
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 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h index e860fe758e79..83144cb6c68d 100644 --- a/include/asm-x86/e820.h +++ b/include/asm-x86/e820.h | |||
@@ -101,6 +101,9 @@ extern void e820_register_active_regions(int nid, unsigned long start_pfn, | |||
101 | extern u64 e820_hole_size(u64 start, u64 end); | 101 | extern u64 e820_hole_size(u64 start, u64 end); |
102 | extern void finish_e820_parsing(void); | 102 | extern void finish_e820_parsing(void); |
103 | extern void e820_reserve_resources(void); | 103 | extern void e820_reserve_resources(void); |
104 | extern void setup_memory_map(void); | ||
105 | extern char *machine_specific_memory_setup(void); | ||
106 | extern char *memory_setup(void); | ||
104 | 107 | ||
105 | #endif /* __ASSEMBLY__ */ | 108 | #endif /* __ASSEMBLY__ */ |
106 | 109 | ||
@@ -111,10 +114,10 @@ extern void e820_reserve_resources(void); | |||
111 | #define BIOS_END 0x00100000 | 114 | #define BIOS_END 0x00100000 |
112 | 115 | ||
113 | #ifdef __KERNEL__ | 116 | #ifdef __KERNEL__ |
117 | #include <linux/ioport.h> | ||
118 | |||
114 | #ifdef CONFIG_X86_32 | 119 | #ifdef CONFIG_X86_32 |
115 | # include "e820_32.h" | 120 | #define HIGH_MEMORY (1024*1024) |
116 | #else | ||
117 | # include "e820_64.h" | ||
118 | #endif | 121 | #endif |
119 | #endif /* __KERNEL__ */ | 122 | #endif /* __KERNEL__ */ |
120 | 123 | ||