[2.6 patch] i386: KEXEC must depend on (!SMP && X86_LOCAL_APIC)

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

 



This patch fixes the following issue with CONFIG_SMP=y and 
CONFIG_X86_VOYAGER=y:

<--  snip  -->

...
  CC      arch/i386/kernel/crash.o
arch/i386/kernel/crash.c: In function ‘crash_nmi_callback’:
arch/i386/kernel/crash.c:113: error: implicit declaration of function ‘disable_local_APIC’

<--  snip  -->

Signed-off-by: Adrian Bunk <[email protected]>

--- linux-2.6.17-mm3-full/arch/i386/Kconfig.old	2006-06-28 18:13:15.000000000 +0200
+++ linux-2.6.17-mm3-full/arch/i386/Kconfig	2006-06-28 18:21:32.000000000 +0200
@@ -748,7 +748,7 @@
 
 config KEXEC
 	bool "kexec system call (EXPERIMENTAL)"
-	depends on EXPERIMENTAL
+	depends on EXPERIMENTAL && (!SMP || X86_LOCAL_APIC)
 	help
 	  kexec is a system call that implements the ability to shutdown your
 	  current kernel, and to start another kernel.  It is like a reboot

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux