diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-05-10 23:47:45 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-05-11 14:28:33 +0100 |
commit | 7b239bb1068eda3f7e8befd9b43671093c206f0e (patch) | |
tree | 03e06ed57d690ca50f637d83a67b8ac846c6fd6d /include | |
parent | fcbee6410d5c4112593e7082fb8d96dfdc6c1c25 (diff) | |
download | kernel-crypto-7b239bb1068eda3f7e8befd9b43671093c206f0e.tar.gz kernel-crypto-7b239bb1068eda3f7e8befd9b43671093c206f0e.tar.xz kernel-crypto-7b239bb1068eda3f7e8befd9b43671093c206f0e.zip |
[MIPS] Fix build error in atomic64_cmpxchg
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/atomic.h b/include/asm-mips/atomic.h index 62daa746a9c..1b60624dab7 100644 --- 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))) /** |