Commit 30134492 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: UML/i386 cmpxchg fix

Using native cmpxchg offers a slight performance improvement in uml/i386.
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2030c0fd
...@@ -42,3 +42,7 @@ config ARCH_HAS_SC_SIGNALS ...@@ -42,3 +42,7 @@ config ARCH_HAS_SC_SIGNALS
config ARCH_REUSE_HOST_VSYSCALL_AREA config ARCH_REUSE_HOST_VSYSCALL_AREA
bool bool
default y default y
config X86_CMPXCHG
bool
default y
...@@ -3,6 +3,4 @@ ...@@ -3,6 +3,4 @@
#include "asm/system-generic.h" #include "asm/system-generic.h"
#define __HAVE_ARCH_CMPXCHG 1
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment