Skip to contentSkip to conversation

ia64, kexec: elfcoreheader needs CONFIG_PROC_VMCORE rather than CONFIG_CRASH_DUMP

PATCH New Horms 1 participant 1 message Jun 27, 2006

lore
Share & tools
lore

Horms

author
#0 lore raw

PATCH 1/1 ia64, kexec: elfcoreheader needs CONFIG_PROC_VMCORE rather than CONFIG_CRASH_DUMP

[ I feel like I have de-ja-vu here, as I swear I sent this once before,
but I can't find it anywhere. ]

elfcorehdr is part of CONFIG_PROC_VMCORE not CONFIG_CRASH_DUMP, the current code will fail to build if CONFIG_CRASH_DUMP is defined but CONFIG_PROC_VMCORE is not.

---
 arch/ia64/kernel/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/ia64/kernel/setup.c +1 -1
index beea1d1..879c8de 100644
@@ -513,7 +513,7 @@ #endif
 	if (!nomca)
 		ia64_mca_init();
 
-#ifdef CONFIG_CRASH_DUMP
+#ifdef CONFIG_PROC_VMCORE
 	{
 		char *from = strstr(saved_command_line, "elfcorehdr=");
 
Signature · 1 line
1.4.1.rc1.g1ef9