aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/spinlock_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/spinlock_32.h')
-rw-r--r--include/asm-x86/spinlock_32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/spinlock_32.h b/include/asm-x86/spinlock_32.h
index c42c3f12d7ce..fca124a1103d 100644
--- a/include/asm-x86/spinlock_32.h
+++ b/include/asm-x86/spinlock_32.h
@@ -99,7 +99,7 @@ static inline int __raw_spin_trylock(raw_spinlock_t *lock)
99 99
100static inline void __raw_spin_unlock(raw_spinlock_t *lock) 100static inline void __raw_spin_unlock(raw_spinlock_t *lock)
101{ 101{
102 asm volatile("movb $1,%0" : "+m" (lock->slock) :: "memory"); 102 asm volatile("movb $1,%0" : "=m" (lock->slock) :: "memory");
103} 103}
104 104
105#else 105#else