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] kdump: kdump_disable_iosapic needs CONFIG_KEXEC
Date: Fri, 15 Sep 2006 01:48:37 +0000	[thread overview]
Message-ID: <20060915014837.GA21649@verge.net.au> (raw)
In-Reply-To: <20060915014422.GA21437@verge.net.au>

Hi Nanhai,

Currently kdump_disable_iosapic is gaurded by CONFIG_CRASH_DUMP,
however it is run buy the crashing kernel, not the crash kernel,
and thus needs to be present for CONFIG_KEXEC, not CONFIG_CRASH_DUMP.

Signed-Off-By: Simon Horman <horms@verge.net.au>

diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c
index 9e9367a..2f58502 100644
--- a/arch/ia64/kernel/iosapic.c
+++ b/arch/ia64/kernel/iosapic.c
@@ -288,7 +288,7 @@ nop (unsigned int irq)
 	/* do nothing... */
 }
 
-#ifdef CONFIG_CRASH_DUMP
+#ifdef CONFIG_KEXEC
 void
 kdump_disable_iosapic(void)
 {

      reply	other threads:[~2006-09-15  1:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-15  1:44 [PATCH] [IA64] kdump: kdump_disable_iosapic needs CONFIG_IOSAPIC Horms
2006-09-15  1:48 ` Horms [this message]

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=20060915014837.GA21649@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