[PATCH] x86: cmpxchg improvements
authorJan Beulich <JBeulich@novell.com>
Sun, 30 Oct 2005 22:59:27 +0000 (14:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:11 +0000 (17:37 -0800)
commit8896fab35e62aa748a5ce62ac773508e51f10be1
treebb8f2dce7b5d0aa6ffe68aa6b97920d2ce32e164
parentdacb16b1a034fa7a0b868ee30758119fbfd90bc1
[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>
arch/i386/Kconfig
include/asm-i386/system.h