diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2024-03-28 01:21:31 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2024-09-13 17:10:38 +0300 |
commit | c81a748edefd098ea21dd35d4bba03f69412fc26 (patch) | |
tree | c04d181cc52b0ee66bc0172392cc6414bc5a01ac /rust/helpers/task.c | |
parent | f2519d4d4fc4d36f2b58c5614357de9f5b4032fc (diff) | |
download | linux-c81a748edefd098ea21dd35d4bba03f69412fc26.tar.xz |
sh: Emulate one-byte cmpxchg
Use the new cmpxchg_emu_u8() to emulate one-byte cmpxchg() on sh.
[ paulmck: Drop two-byte support per Arnd Bergmann feedback. ]
[ paulmck: Apply feedback from Naresh Kamboju. ]
[ Apply Geert Uytterhoeven feedback. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Andi Shyti <andi.shyti@linux.intel.com>
Cc: Palmer Dabbelt <palmer@rivosinc.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: <linux-sh@vger.kernel.org>
Acked-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions