[PATCH] [IA64] kdump: kdump_disable_iosapic needs CONFIG_IOSAPIC

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

 



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

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