locking/atomic: sh: Use generic_cmpxchg_local for arch_cmpxchg_local()
authorMasami Hiramatsu <mhiramat@kernel.org>
Wed, 25 Oct 2023 15:10:05 +0000 (00:10 +0900)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 2 Nov 2023 09:13:12 +0000 (10:13 +0100)
commit63f1ee206170ad2363aa25fd99bd5ae529c690ae
tree92cf5eff576a00e820d555867dbd6e61325efcf3
parent78a96c86a0ff2be546f2ecca210fde5dca30fb59
locking/atomic: sh: Use generic_cmpxchg_local for arch_cmpxchg_local()

Use __generic_cmpxchg_local() for arch_cmpxchg_local() implementation
on SH architecture because it does not implement arch_cmpxchg_local().

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202310241310.Ir5uukOG-lkp@intel.com/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/169824660459.24340.14614817132696360531.stgit@devnote2
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
arch/sh/include/asm/cmpxchg.h