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_IOSAPIC
Date: Fri, 15 Sep 2006 01:44:24 +0000	[thread overview]
Message-ID: <20060915014422.GA21437@verge.net.au> (raw)

Hi Nanhai,

here is a minor patch against your lastest ia64 kexec patch.
kdump_disable_iosapic() doesn't exist without CONFIG_IOSAPIC,
calling it needs to be gaurded by a corresponding #ifdef

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

diff --git a/arch/ia64/kernel/crash.c b/arch/ia64/kernel/crash.c
index aa63c47..e15e15d 100644
--- a/arch/ia64/kernel/crash.c
+++ b/arch/ia64/kernel/crash.c
@@ -42,7 +42,9 @@ size_t copy_oldmem_page(unsigned long pf
 
 static void device_shootdown(void)
 {
+#ifdef CONFIG_IOSAPIC
 	kdump_disable_iosapic();
+#endif
 #ifdef CONFIG_IA64_HP_ZX1
 	ioc_iova_disable();
 #endif

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

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

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=20060915014422.GA21437@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