X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-i386%2Fmutex.h;h=9b2199e829f36c7b1606b74f7e4b3f5bc6f61fd3;hb=6bd0e10e53cc4824cd8cdaab8c370e53ab2e23c2;hp=c657d4b09f0a23d96f0cdf24bb606201f49751dd;hpb=73165b88ffd29813bf73b331eaf90d3521443236;p=powerpc.git diff --git a/include/asm-i386/mutex.h b/include/asm-i386/mutex.h index c657d4b09f..9b2199e829 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 *)) * the mutex state would be. */ #ifdef __HAVE_ARCH_CMPXCHG - if (likely(atomic_cmpxchg(count, 1, 0)) == 1) + if (likely(atomic_cmpxchg(count, 1, 0) == 1)) return 1; return 0; #else