[PATCH] ia64, kexec: elfcorehdr needs CONFIG_PROC_VMCORE

From: Horms <horms_at_verge.net.au>
Date: 2006-06-19 16:47:12
ia64, kexec: elfcorehdr needs CONFIG_PROC_VMCORE

elfcoreheader is part of the functionality provided by CONFIG_PROC_VMCORE,
not CONFIG_CRASH_DUMP, although CONFIG_PROC_VMCORE depends on CONFIG_CRASH_DUMP.

Without this change the build will fail, complaining that the symbol elfcorehdr
doesn't exist, if the config has CONFIG_CRASH_DUMP but not CONFIG_PROC_VMCORE.

This patch is relative to Zou Nan hai's kdump patch which I rediffed
and sent to linux-ia64 and fastboot on the 8th of June
http://permalink.gmane.org/gmane.linux.ports.ia64/14320

Signed-off-by: Horms <horms@verge.net.au>

 arch/ia64/kernel/setup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

8190ca8bb167bbb92a61f686de02a5cc16c54800
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c
index 7665d4d..74249ff 100644
--- a/arch/ia64/kernel/setup.c
+++ b/arch/ia64/kernel/setup.c
@@ -512,7 +512,7 @@ #endif
 	if (!nomca)
 		ia64_mca_init();
 
-#ifdef CONFIG_CRASH_DUMP
+#ifdef CONFIG_PROC_VMCORE
 	{
 		char *from = strstr(saved_command_line, "elfcorehdr=");
 

-- 
Horms                                           http://www.vergenet.net/~horms/

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jun 19 16:48:51 2006

This archive was generated by hypermail 2.1.8 : 2006-06-19 16:49:03 EST