linux/arch/sh
Mark Rutland 8c64175513 locking/atomic: sh: 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 sh 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>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rich Felker <dalias@libc.org>
Cc: Will Deacon <will@kernel.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210525140232.53872-30-mark.rutland@arm.com
2021-05-26 13:20:52 +02:00
..
boards Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2021-02-27 08:07:12 -08:00
boot
cchips
configs drivers/char: remove /dev/kmem for good 2021-05-07 00:26:34 -07:00
drivers
include locking/atomic: sh: move to ARCH_ATOMIC 2021-05-26 13:20:52 +02:00
kernel Kbuild updates for v5.13 (2nd) 2021-05-08 10:00:11 -07:00
lib
math-emu
mm mm: generalize ARCH_ENABLE_MEMORY_[HOTPLUG|HOTREMOVE] 2021-05-05 11:27:25 -07:00
tools
Kconfig locking/atomic: sh: move to ARCH_ATOMIC 2021-05-26 13:20:52 +02:00
Kconfig.cpu
Kconfig.debug
Makefile arch: use cross_compiling to check whether it is a cross build or not 2021-05-06 01:49:13 +09:00