linux/arch
Mark Rutland b9b12978a8 locking/atomic: xtensa: move to ARCH_ATOMIC
We'd like all architectures to convert to ARCH_ATOMIC, as once all
architectures are converted it will be possible to make significant
cleanups to the atomics headers, and this will make it much easier to
generically enable atomic functionality (e.g. debug logic in the
instrumented wrappers).

As a step towards that, this patch migrates xtensa to ARCH_ATOMIC. The
arch code provides arch_{atomic,atomic64,xchg,cmpxchg}*(), and common
code wraps these with optional instrumentation to provide the regular
functions.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210525140232.53872-32-mark.rutland@arm.com
2021-05-26 13:20:52 +02:00
..
alpha locking/atomic: alpha: move to ARCH_ATOMIC 2021-05-26 13:20:50 +02:00
arc locking/atomic: arc: move to ARCH_ATOMIC 2021-05-26 13:20:50 +02:00
arm locking/atomic: arm: move to ARCH_ATOMIC 2021-05-26 13:20:50 +02:00
arm64 locking/atomic: make ARCH_ATOMIC a Kconfig symbol 2021-05-26 13:20:49 +02:00
csky locking/atomic: csky: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
h8300 locking/atomic: h8300: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
hexagon locking/atomic: hexagon: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
ia64 locking/atomic: ia64: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
m68k locking/atomic: m68k: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
microblaze locking/atomic: microblaze: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
mips locking/atomic: mips: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
nds32 locking/atomic: nds32: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
nios2 locking/atomic: nios2: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
openrisc locking/atomic: openrisc: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
parisc locking/atomic: parisc: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
powerpc locking/atomic: powerpc: move to ARCH_ATOMIC 2021-05-26 13:20:52 +02:00
riscv locking/atomic: riscv: move to ARCH_ATOMIC 2021-05-26 13:20:52 +02:00
s390 locking/atomic: make ARCH_ATOMIC a Kconfig symbol 2021-05-26 13:20:49 +02:00
sh locking/atomic: sh: move to ARCH_ATOMIC 2021-05-26 13:20:52 +02:00
sparc locking/atomic: sparc: move to ARCH_ATOMIC 2021-05-26 13:20:52 +02:00
um locking/atomic: make ARCH_ATOMIC a Kconfig symbol 2021-05-26 13:20:49 +02:00
x86 locking/atomic: make ARCH_ATOMIC a Kconfig symbol 2021-05-26 13:20:49 +02:00
xtensa locking/atomic: xtensa: move to ARCH_ATOMIC 2021-05-26 13:20:52 +02:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig locking/atomic: make ARCH_ATOMIC a Kconfig symbol 2021-05-26 13:20:49 +02:00