aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-04-01 18:44:01 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:34 -0400
commitf408b43ceedce49f26c01cd4a68dbbdbe2743e51 (patch)
tree73c36f3e1572d1a12795d606e534fb24c71a4a71
parentd2b3bab63bd9999a29eb74326a7baf61901385e6 (diff)
x86: fix VisualWS and Voyager kexec build failures
without this patch: VOYAGER: kernel/built-in.o: In function `crash_kexec': (.text+0x28588): undefined reference to `machine_crash_shutdown' VISWS: kernel/built-in.o: In function `crash_kexec': /next-20080401/kernel/kexec.c:1074: undefined reference to `machine_crash_shutdown' make[1]: *** [.tmp_vmlinux1] Error 1 because arch/x86/kernel/reboot.c isn't built since CONFIG_X86_BIOS_REBOOT=n, so machine_crash_shutdown() isn't available. This patch does seem a small bit odd since the KEXEC help text says that kexec is independent of the system firmware. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Eric Biederman <ebiederm@xmission.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index a0d7406e8b37..0a7193ae45ed 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1121,6 +1121,7 @@ source kernel/Kconfig.hz
1121 1121
1122config KEXEC 1122config KEXEC
1123 bool "kexec system call" 1123 bool "kexec system call"
1124 depends on X86_64 || X86_BIOS_REBOOT
1124 help 1125 help
1125 kexec is a system call that implements the ability to shutdown your 1126 kexec is a system call that implements the ability to shutdown your
1126 current kernel, and to start another kernel. It is like a reboot 1127 current kernel, and to start another kernel. It is like a reboot