Commit c97e7f98 authored by Vineet Gupta's avatar Vineet Gupta Committed by Kamal Mostafa

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 avatarKamal Mostafa <kamal@canonical.com>
parent 5582ea07
...@@ -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