ARC: atomic_cmpxchg/atomic_xchg: implement relaxed variants
authorVineet Gupta <vgupta@kernel.org>
Mon, 11 May 2020 20:27:23 +0000 (13:27 -0700)
committerVineet Gupta <vgupta@kernel.org>
Tue, 24 Aug 2021 21:25:47 +0000 (14:25 -0700)
commit301014cf6d72836dd5fd5b3e9c92633f35b298c0
tree0c96401283a492b5e5dcc238fc8e957ed2897fa7
parentddc348c44d82d0b55236210d5606ac868e6cc364
ARC: atomic_cmpxchg/atomic_xchg: implement relaxed variants

And move them out of cmpxchg.h to canonical atomic.h

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
arch/arc/include/asm/atomic.h
arch/arc/include/asm/cmpxchg.h