ARC: unbork !LLSC build
Fixes: f7d11e93ee
locking,arch,arc: Fold atomic_ops
Cc: <stable@kernel.vger.org> # 3.18
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
parent
b787f68c36
commit
daaf40e53b
@ -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; \
|
||||||
|
Loading…
Reference in New Issue
Block a user