projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'sundance'
[powerpc.git]
/
include
/
asm-i386
/
mutex.h
diff --git
a/include/asm-i386/mutex.h
b/include/asm-i386/mutex.h
index
c657d4b
..
9b2199e
100644
(file)
--- 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