Skip to content

Commit

Permalink
[PATCH] uml: UML/i386 cmpxchg fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Sep 17, 2005
1 parent 2030c0f commit 3013449
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions arch/um/Kconfig.i386
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ config ARCH_HAS_SC_SIGNALS
config ARCH_REUSE_HOST_VSYSCALL_AREA
bool
default y

config X86_CMPXCHG
bool
default y
2 changes: 0 additions & 2 deletions include/asm-um/system-i386.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@

#include "asm/system-generic.h"

#define __HAVE_ARCH_CMPXCHG 1

#endif

0 comments on commit 3013449

Please sign in to comment.