projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcbee64
)
[MIPS] Fix build error in atomic64_cmpxchg
author
Atsushi Nemoto
<anemo@mba.ocn.ne.jp>
Thu, 10 May 2007 14:47:45 +0000
(23:47 +0900)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 11 May 2007 13:28:33 +0000
(14:28 +0100)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/atomic.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-mips/atomic.h
b/include/asm-mips/atomic.h
index 62daa746a9c9180101af1e566635778c36d1d269..1b60624dab7e4aacca7518818aeaf2c6214baa33 100644
(file)
--- a/
include/asm-mips/atomic.h
+++ b/
include/asm-mips/atomic.h
@@
-689,7
+689,7
@@
static __inline__ long atomic64_sub_if_positive(long i, atomic64_t * v)
}
#define atomic64_cmpxchg(v, o, n) \
- ((
(__typeof__((v)->counter)
))cmpxchg(&((v)->counter), (o), (n)))
+ ((
__typeof__((v)->counter
))cmpxchg(&((v)->counter), (o), (n)))
#define atomic64_xchg(v, new) (xchg(&((v)->counter), (new)))
/**