mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-08 15:04:45 +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
|
||||
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 New Issue
Block a user