[PATCH] uml: UML/i386 cmpxchg fix

Using native cmpxchg offers a slight performance improvement in uml/i386.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Jeff Dike 2005-09-16 19:28:03 -07:00 committed by Linus Torvalds
parent 2030c0fd3d
commit 3013449243
2 changed files with 4 additions and 2 deletions

View File

@ -42,3 +42,7 @@ config ARCH_HAS_SC_SIGNALS
config ARCH_REUSE_HOST_VSYSCALL_AREA
bool
default y
config X86_CMPXCHG
bool
default y

View File

@ -3,6 +3,4 @@
#include "asm/system-generic.h"
#define __HAVE_ARCH_CMPXCHG 1
#endif