locking/atomic: treewide: use raw_atomic*_<op>()
authorMark Rutland <mark.rutland@arm.com>
Mon, 5 Jun 2023 07:01:15 +0000 (08:01 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 5 Jun 2023 07:57:20 +0000 (09:57 +0200)
commit0f613bfa8268a89be25f2b6b58fc6fe8ccd9a2ba
treebf4809e894a0cdd521772a1d409bf1653563685b
parentc9268ac615f9f6dded7801df5993374598934377
locking/atomic: treewide: use raw_atomic*_<op>()

Now that we have raw_atomic*_<op>() definitions, there's no need to use
arch_atomic*_<op>() definitions outside of the low-level atomic
definitions.

Move treewide users of arch_atomic*_<op>() over to the equivalent
raw_atomic*_<op>().

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230605070124.3741859-19-mark.rutland@arm.com
14 files changed:
arch/powerpc/kernel/smp.c
arch/x86/kernel/alternative.c
arch/x86/kernel/cpu/mce/core.c
arch/x86/kernel/nmi.c
arch/x86/kernel/pvclock.c
arch/x86/kvm/x86.c
include/asm-generic/bitops/atomic.h
include/asm-generic/bitops/lock.h
include/linux/context_tracking.h
include/linux/context_tracking_state.h
include/linux/cpumask.h
include/linux/jump_label.h
kernel/context_tracking.c
kernel/sched/clock.c