diff options
author | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2007-07-22 11:12:37 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-22 11:03:38 -0700 |
commit | bdda1561ffda764583a295229db66d94cf6038a3 (patch) | |
tree | d770c280e5598602b1d2b64e239904f5f121c789 /include/asm-x86_64/cmpxchg.h | |
parent | 20fe1d30e7e1c2ee36f11856f090613b0ad58b48 (diff) | |
download | kernel_samsung_smdk4412-bdda1561ffda764583a295229db66d94cf6038a3.zip kernel_samsung_smdk4412-bdda1561ffda764583a295229db66d94cf6038a3.tar.gz kernel_samsung_smdk4412-bdda1561ffda764583a295229db66d94cf6038a3.tar.bz2 |
x86_64: x86_64 - Use non locked version for local_cmpxchg()
local_cmpxchg() should not use any LOCK prefix. This change probably
got lost in the move to cmpxchg.h.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Acked-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-x86_64/cmpxchg.h')
-rw-r--r-- | include/asm-x86_64/cmpxchg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86_64/cmpxchg.h b/include/asm-x86_64/cmpxchg.h index 09a6b6b..5e18206 100644 --- a/include/asm-x86_64/cmpxchg.h +++ b/include/asm-x86_64/cmpxchg.h @@ -128,7 +128,7 @@ static inline unsigned long __cmpxchg_local(volatile void *ptr, ((__typeof__(*(ptr)))__cmpxchg((ptr),(unsigned long)(o),\ (unsigned long)(n),sizeof(*(ptr)))) #define cmpxchg_local(ptr,o,n)\ - ((__typeof__(*(ptr)))__cmpxchg((ptr),(unsigned long)(o),\ + ((__typeof__(*(ptr)))__cmpxchg_local((ptr),(unsigned long)(o),\ (unsigned long)(n),sizeof(*(ptr)))) #endif |