Commit df929b25 authored by Vineet Gupta's avatar Vineet Gupta Committed by Ben Hutchings

ARC: unbork !LLSC build

commit daaf40e5 upstream.

Fixes: f7d11e93 locking,arch,arc: Fold atomic_ops
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Cc: Guenter Roeck <linux@roeck-us.net>
parent d02167c4
...@@ -109,7 +109,7 @@ static inline void atomic_##op(int i, atomic_t *v) \ ...@@ -109,7 +109,7 @@ static inline void atomic_##op(int i, atomic_t *v) \
atomic_ops_unlock(flags); \ atomic_ops_unlock(flags); \
} }
#define ATOMIC_OP_RETURN(op, c_op) \ #define ATOMIC_OP_RETURN(op, c_op, asm_op) \
static inline int atomic_##op##_return(int i, atomic_t *v) \ static inline int atomic_##op##_return(int i, atomic_t *v) \
{ \ { \
unsigned long flags; \ unsigned long flags; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment