diff options
| -rw-r--r-- | include/asm-x86/e820.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h index 33e793e991d0..06633b01dd5b 100644 --- a/include/asm-x86/e820.h +++ b/include/asm-x86/e820.h | |||
| @@ -59,6 +59,7 @@ struct e820map { | |||
| 59 | struct e820entry map[E820_X_MAX]; | 59 | struct e820entry map[E820_X_MAX]; |
| 60 | }; | 60 | }; |
| 61 | 61 | ||
| 62 | #ifdef __KERNEL__ | ||
| 62 | /* see comment in arch/x86/kernel/e820.c */ | 63 | /* see comment in arch/x86/kernel/e820.c */ |
| 63 | extern struct e820map e820; | 64 | extern struct e820map e820; |
| 64 | extern struct e820map e820_saved; | 65 | extern struct e820map e820_saved; |
| @@ -115,7 +116,7 @@ extern void setup_memory_map(void); | |||
| 115 | extern char *default_machine_specific_memory_setup(void); | 116 | extern char *default_machine_specific_memory_setup(void); |
| 116 | extern char *machine_specific_memory_setup(void); | 117 | extern char *machine_specific_memory_setup(void); |
| 117 | extern char *memory_setup(void); | 118 | extern char *memory_setup(void); |
| 118 | 119 | #endif /* __KERNEL__ */ | |
| 119 | #endif /* __ASSEMBLY__ */ | 120 | #endif /* __ASSEMBLY__ */ |
| 120 | 121 | ||
| 121 | #define ISA_START_ADDRESS 0xa0000 | 122 | #define ISA_START_ADDRESS 0xa0000 |
