diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/crash_dump.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/crash_dump.c b/kernel/crash_dump.c index 334c37f5218a..fccb27dbc623 100644 --- a/kernel/crash_dump.c +++ b/kernel/crash_dump.c | |||
@@ -14,10 +14,12 @@ | |||
14 | 14 | ||
15 | #include <asm/io.h> | 15 | #include <asm/io.h> |
16 | #include <asm/uaccess.h> | 16 | #include <asm/uaccess.h> |
17 | #include <asm/kexec.h> | ||
17 | 18 | ||
18 | /* Stores the physical address of elf header of crash image. */ | 19 | /* Stores the physical address of elf header of crash image. */ |
19 | unsigned long long elfcorehdr_addr = ELFCORE_ADDR_MAX; | 20 | unsigned long long elfcorehdr_addr = ELFCORE_ADDR_MAX; |
20 | 21 | ||
22 | #ifndef HAVE_ARCH_COPY_OLDMEM_PAGE | ||
21 | /** | 23 | /** |
22 | * copy_oldmem_page - copy one page from "oldmem" | 24 | * copy_oldmem_page - copy one page from "oldmem" |
23 | * @pfn: page frame number to be copied | 25 | * @pfn: page frame number to be copied |
@@ -59,3 +61,4 @@ ssize_t copy_oldmem_page(unsigned long pfn, char *buf, | |||
59 | kfree(page); | 61 | kfree(page); |
60 | return csize; | 62 | return csize; |
61 | } | 63 | } |
64 | #endif | ||