aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386')
-rw-r--r--include/asm-i386/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/mutex.h b/include/asm-i386/mutex.h
index c657d4b09f0a..9b2199e829f3 100644
--- a/include/asm-i386/mutex.h
+++ b/include/asm-i386/mutex.h
@@ -125,7 +125,7 @@ __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *))
125 * the mutex state would be. 125 * the mutex state would be.
126 */ 126 */
127#ifdef __HAVE_ARCH_CMPXCHG 127#ifdef __HAVE_ARCH_CMPXCHG
128 if (likely(atomic_cmpxchg(count, 1, 0)) == 1) 128 if (likely(atomic_cmpxchg(count, 1, 0) == 1))
129 return 1; 129 return 1;
130 return 0; 130 return 0;
131#else 131#else