linux/arch/openrisc
Mark Rutland 3f1e931d15 locking/atomic: openrisc: 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 openrisc 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: Stafford Horne <shorne@gmail.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210525140232.53872-26-mark.rutland@arm.com
2021-05-26 13:20:51 +02:00
..
boot openrisc: Add vmlinux.bin target 2021-01-01 14:59:57 +09:00
configs drivers/char: remove /dev/kmem for good 2021-05-07 00:26:34 -07:00
include locking/atomic: openrisc: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
kernel io_uring-worker.v3-2021-02-25 2021-02-27 08:29:02 -08:00
lib treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mm mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
Kbuild openrisc: add arch/openrisc/Kbuild 2021-01-18 20:53:14 +09:00
Kconfig locking/atomic: openrisc: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile openrisc: add arch/openrisc/Kbuild 2021-01-18 20:53:14 +09:00