Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30134492 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds
Browse files

[PATCH] uml: UML/i386 cmpxchg fix



Using native cmpxchg offers a slight performance improvement in uml/i386.

Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2030c0fd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -42,3 +42,7 @@ config ARCH_HAS_SC_SIGNALS
config ARCH_REUSE_HOST_VSYSCALL_AREA
	bool
	default y

config X86_CMPXCHG
	bool
	default y
+0 −2
Original line number Diff line number Diff line
@@ -3,6 +3,4 @@

#include "asm/system-generic.h"
    
#define __HAVE_ARCH_CMPXCHG 1

#endif