Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b239bb1 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Ralf Baechle
Browse files

[MIPS] Fix build error in atomic64_cmpxchg

parent fcbee641
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)))

/**