Commit daaf40e5 authored by Vineet Gupta's avatar Vineet Gupta

ARC: unbork !LLSC build

Fixes: f7d11e93 locking,arch,arc: Fold atomic_ops
Cc: <stable@kernel.vger.org> # 3.18
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent b787f68c
...@@ -99,7 +99,7 @@ static inline void atomic_##op(int i, atomic_t *v) \ ...@@ -99,7 +99,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