]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitb4514cf2526ed77f22d322992fcd7c48b4c97cf4
treebb8f2dce7b5d0aa6ffe68aa6b97920d2ce32e164
parent26be5d44a7bab3bb4540c477465e29e339c4b5ea
[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