diff options
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 | ||