projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'max-sect' into upstream
[powerpc.git]
/
include
/
asm-x86_64
/
mutex.h
diff --git
a/include/asm-x86_64/mutex.h
b/include/asm-x86_64/mutex.h
index
818abfd
..
11fbee2
100644
(file)
--- a/
include/asm-x86_64/mutex.h
+++ b/
include/asm-x86_64/mutex.h
@@
-104,7
+104,7
@@
do { \
static inline int
__mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *))
{
- if (likely(atomic_cmpxchg(count, 1, 0)
) == 1
)
+ if (likely(atomic_cmpxchg(count, 1, 0)
== 1)
)
return 1;
else
return 0;