[2.6 patch] i386 KEXEC must depend on X86_CMPXCHG64

From: Adrian Bunk
Date: Thu Nov 17 2005 - 18:56:47 EST


This patch fixes the following compile error with
CONFIG_X86_CMPXCHG64=n:

<-- snip -->

...
CC arch/i386/kernel/machine_kexec.o
arch/i386/kernel/machine_kexec.c: In function 'identity_map_page':
arch/i386/kernel/machine_kexec.c:78: error: implicit declaration of function 'set_64bit'
make[1]: *** [arch/i386/kernel/machine_kexec.o] Error 1

<-- snip -->


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.15-rc1-mm1-full/arch/i386/Kconfig.old 2005-11-18 00:44:29.000000000 +0100
+++ linux-2.6.15-rc1-mm1-full/arch/i386/Kconfig 2005-11-18 00:45:11.000000000 +0100
@@ -662,7 +662,7 @@

config KEXEC
bool "kexec system call (EXPERIMENTAL)"
- depends on EXPERIMENTAL
+ depends on EXPERIMENTAL && X86_CMPXCHG64
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/