]> git.ipfire.org Git - thirdparty/linux.git/commit
riscv/atomic.h: use RISCV_FULL_BARRIER in _arch_atomic* function.
authorZongmin Zhou <zhouzongmin@kylinos.cn>
Thu, 20 Nov 2025 09:58:31 +0000 (17:58 +0800)
committerPaul Walmsley <pjw@kernel.org>
Fri, 19 Dec 2025 07:22:30 +0000 (00:22 -0700)
commitf02dd254727665cc292669194b9171bb70413346
tree90742e6b7595730874cf6828a8832c5c44aa9d0c
parent6118ebed3bdf896038f58d0d1804f551f33e8643
riscv/atomic.h: use RISCV_FULL_BARRIER in _arch_atomic* function.

Replace the same code with the pre-defined macro
RISCV_FULL_BARRIER to simplify the code.

Signed-off-by: Zongmin Zhou <zhouzongmin@kylinos.cn>
Link: https://patch.msgid.link/20251120095831.64211-1-min_halo@163.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/include/asm/atomic.h