diff options
Diffstat (limited to 'arch/x86_64/kernel/e820.c')
-rw-r--r-- | arch/x86_64/kernel/e820.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/e820.c b/arch/x86_64/kernel/e820.c index cf4878309b04..6ded3a50dfe6 100644 --- a/arch/x86_64/kernel/e820.c +++ b/arch/x86_64/kernel/e820.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/bootmem.h> | 16 | #include <linux/bootmem.h> |
17 | #include <linux/ioport.h> | 17 | #include <linux/ioport.h> |
18 | #include <linux/string.h> | 18 | #include <linux/string.h> |
19 | #include <linux/kexec.h> | ||
19 | #include <asm/page.h> | 20 | #include <asm/page.h> |
20 | #include <asm/e820.h> | 21 | #include <asm/e820.h> |
21 | #include <asm/proto.h> | 22 | #include <asm/proto.h> |
@@ -210,6 +211,9 @@ void __init e820_reserve_resources(void) | |||
210 | */ | 211 | */ |
211 | request_resource(res, &code_resource); | 212 | request_resource(res, &code_resource); |
212 | request_resource(res, &data_resource); | 213 | request_resource(res, &data_resource); |
214 | #ifdef CONFIG_KEXEC | ||
215 | request_resource(res, &crashk_res); | ||
216 | #endif | ||
213 | } | 217 | } |
214 | } | 218 | } |
215 | } | 219 | } |