]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ARC: Emulate one-byte cmpxchg
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 18 Mar 2024 08:27:35 +0000 (01:27 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 13 Sep 2024 14:10:37 +0000 (07:10 -0700)
commitf2519d4d4fc4d36f2b58c5614357de9f5b4032fc
treed6d437ed485ee3c2b676da43e15ab3437ee77de2
parent8400291e289ee6b2bf9779ff1c83a291501f017b
ARC: Emulate one-byte cmpxchg

Use the new cmpxchg_emu_u8() to emulate one-byte cmpxchg() on arc.

[ paulmck: Drop two-byte support per Arnd Bergmann feedback. ]
[ paulmck: Apply feedback from Naresh Kamboju. ]
[ paulmck: Apply kernel test robot feedback. ]
[ paulmck: Apply feedback from Vineet Gupta. ]

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Andi Shyti <andi.shyti@linux.intel.com>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Palmer Dabbelt <palmer@rivosinc.com>
Cc: <linux-snps-arc@lists.infradead.org>
Acked-by: Vineet Gupta <vgupta@kernel.org>
arch/arc/Kconfig
arch/arc/include/asm/cmpxchg.h