From: Horms <horms@verge.net.au>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] ia64, kexec: elfcorehdr needs CONFIG_PROC_VMCORE
Date: Mon, 19 Jun 2006 06:47:12 +0000 [thread overview]
Message-ID: <20060619064710.GA11262@verge.net.au> (raw)
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/
reply other threads:[~2006-06-19 6:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060619064710.GA11262@verge.net.au \
--to=horms@verge.net.au \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox