mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 14:50:19 +00:00
[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
@ -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 @@
|
|||||||
|
|
||||||
#include "asm/system-generic.h"
|
#include "asm/system-generic.h"
|
||||||
|
|
||||||
#define __HAVE_ARCH_CMPXCHG 1
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user