Home
last modified time | relevance | path

Searched hist:"5800 e77d88c0cd98bc10460df148631afa7b5e4d" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/csky/include/asm/
H A Dcmpxchg.hdiff 5800e77d88c0cd98bc10460df148631afa7b5e4d Wed Mar 27 23:14:26 CET 2024 Paul E. McKenney <paulmck@kernel.org> csky: Emulate one-byte cmpxchg

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

[ paulmck: Apply kernel test robot feedback. ]
[ paulmck: Drop two-byte support per Arnd Bergmann feedback. ]

Co-developed-by: Yujie Liu <yujie.liu@intel.com>
Signed-off-by: Yujie Liu <yujie.liu@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Tested-by: Yujie Liu <yujie.liu@intel.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: <linux-csky@vger.kernel.org>