public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Horms <horms@verge.net.au>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] ia64, kexec: elfcoreheader needs CONFIG_PROC_VMCORE rather than CONFIG_CRASH_DUMP
Date: Tue, 27 Jun 2006 03:40:12 +0000	[thread overview]
Message-ID: <20060627034010.GA28249@verge.net.au> (raw)

[ 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.

Signed-off-by: Horms <horms@verge.net.au>
---
 arch/ia64/kernel/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c
index beea1d1..879c8de 100644
--- a/arch/ia64/kernel/setup.c
+++ b/arch/ia64/kernel/setup.c
@@ -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=");
 
-- 
1.4.1.rc1.g1ef9


                 reply	other threads:[~2006-06-27  3:40 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=20060627034010.GA28249@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