diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/setup.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c index 8d58a053e12e..7306353c520e 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/i386/kernel/setup.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <linux/edd.h> | 44 | #include <linux/edd.h> |
45 | #include <linux/nodemask.h> | 45 | #include <linux/nodemask.h> |
46 | #include <linux/kexec.h> | 46 | #include <linux/kexec.h> |
47 | #include <linux/crash_dump.h> | ||
47 | 48 | ||
48 | #include <video/edid.h> | 49 | #include <video/edid.h> |
49 | 50 | ||
@@ -881,6 +882,13 @@ static void __init parse_cmdline_early (char ** cmdline_p) | |||
881 | } | 882 | } |
882 | } | 883 | } |
883 | #endif | 884 | #endif |
885 | #ifdef CONFIG_CRASH_DUMP | ||
886 | /* elfcorehdr= specifies the location of elf core header | ||
887 | * stored by the crashed kernel. | ||
888 | */ | ||
889 | else if (!memcmp(from, "elfcorehdr=", 11)) | ||
890 | elfcorehdr_addr = memparse(from+11, &from); | ||
891 | #endif | ||
884 | 892 | ||
885 | /* | 893 | /* |
886 | * highmem=size forces highmem to be exactly 'size' bytes. | 894 | * highmem=size forces highmem to be exactly 'size' bytes. |