riscv: atomic: Cleanup unnecessary definition
authorGuo Ren <guoren@linux.alibaba.com>
Thu, 5 May 2022 03:55:22 +0000 (11:55 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sat, 21 May 2022 17:31:45 +0000 (10:31 -0700)
commitdd8437cd4249e367f747a37b6a19d4cd04bf8796
treefcd0449ce2f829bcac442edbc03793c0c49c2eaa
parent19bc59bbeddf07360ef8bceb420f95712977a32f
riscv: atomic: Cleanup unnecessary definition

The cmpxchg32 & cmpxchg32_local are not used in Linux anymore. So
clean up asm/cmpxchg.h.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Link: https://lore.kernel.org/r/20220505035526.2974382-2-guoren@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/cmpxchg.h