summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2005-09-16 19:28:03 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-17 11:50:01 -0700
commit3013449243adc3421b507696e5d247a3d292ee0c (patch)
tree0cabbe21507b1136b84086452f56b5a095adfcf8 /arch/um
parent2030c0fd3db3332378f95f479c286181e3920644 (diff)
[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>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/Kconfig.i3864
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/um/Kconfig.i386 b/arch/um/Kconfig.i386
index 8ad156a0049..5d92cacd56c 100644
--- a/arch/um/Kconfig.i386
+++ b/arch/um/Kconfig.i386
@@ -42,3 +42,7 @@ config ARCH_HAS_SC_SIGNALS
config ARCH_REUSE_HOST_VSYSCALL_AREA
bool
default y
+
+config X86_CMPXCHG
+ bool
+ default y