[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:
parent
2030c0fd3d
commit
3013449243
2 changed files with 4 additions and 2 deletions
|
@ -42,3 +42,7 @@ config ARCH_HAS_SC_SIGNALS
|
|||
config ARCH_REUSE_HOST_VSYSCALL_AREA
|
||||
bool
|
||||
default y
|
||||
|
||||
config X86_CMPXCHG
|
||||
bool
|
||||
default y
|
||||
|
|
|
@ -3,6 +3,4 @@
|
|||
|
||||
#include "asm/system-generic.h"
|
||||
|
||||
#define __HAVE_ARCH_CMPXCHG 1
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue