]> Git Repo - linux.git/commit
locking/atomic: sparc: move to ARCH_ATOMIC
authorMark Rutland <[email protected]>
Tue, 25 May 2021 14:02:29 +0000 (15:02 +0100)
committerPeter Zijlstra <[email protected]>
Wed, 26 May 2021 11:20:52 +0000 (13:20 +0200)
commitff5b4f1ed580c59d1f26ddddc6b2622347571cec
tree3bee475220b11f16b344aa69200bb1ff1938be3c
parent8c6417551309fe3654b5f761214303aef361d3e8
locking/atomic: sparc: 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 sparc 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 <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Boqun Feng <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/sparc/Kconfig
arch/sparc/include/asm/atomic_32.h
arch/sparc/include/asm/atomic_64.h
arch/sparc/include/asm/cmpxchg_32.h
arch/sparc/include/asm/cmpxchg_64.h
arch/sparc/lib/atomic32.c
arch/sparc/lib/atomic_64.S
This page took 0.046593 seconds and 4 git commands to generate.