Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7b239bb1068eda3f7e8befd9b43671093c206f0e Commit: 7b239bb1068eda3f7e8befd9b43671093c206f0e Parent: fcbee6410d5c4112593e7082fb8d96dfdc6c1c25 Author: Atsushi Nemoto <[EMAIL PROTECTED]> AuthorDate: Thu May 10 23:47:45 2007 +0900 Committer: Ralf Baechle <[EMAIL PROTECTED]> CommitDate: Fri May 11 14:28:33 2007 +0100
[MIPS] Fix build error in atomic64_cmpxchg Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]> Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- 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 62daa74..1b60624 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))) /** - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html