[PATCH] [IA64] kdump: kdump_disable_iosapic needs CONFIG_KEXEC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>

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)
 {
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux