aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/Kconfig
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@novell.com>2005-10-30 17:59:27 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-30 20:37:11 -0500
commit8896fab35e62aa748a5ce62ac773508e51f10be1 (patch)
treebb8f2dce7b5d0aa6ffe68aa6b97920d2ce32e164 /arch/i386/Kconfig
parentdacb16b1a034fa7a0b868ee30758119fbfd90bc1 (diff)
[PATCH] x86: cmpxchg improvements
This adjusts i386's cmpxchg patterns so that - for word and long cmpxchg-es the compiler can utilize all possible registers - cmpxchg8b gets disabled when the minimum specified hardware architectur doesn't support it (like was already happening for the byte, word, and long ones). Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/Kconfig')
-rw-r--r--arch/i386/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig
index 2e3e8dbcb79f..35d3cff30057 100644
--- a/arch/i386/Kconfig
+++ b/arch/i386/Kconfig
@@ -424,6 +424,11 @@ config X86_POPAD_OK
424 depends on !M386 424 depends on !M386
425 default y 425 default y
426 426
427config X86_CMPXCHG64
428 bool
429 depends on !M386 && !M486
430 default y
431
427config X86_ALIGNMENT_16 432config X86_ALIGNMENT_16
428 bool 433 bool
429 depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || X86_ELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2 || MGEODEGX1 434 depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || X86_ELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2 || MGEODEGX1