linux/arch/m68k
Mark Rutland d12157efc8 locking/atomic: make atomic*_{cmp,}xchg optional
Most architectures define the atomic/atomic64 xchg and cmpxchg
operations in terms of arch_xchg and arch_cmpxchg respectfully.

Add fallbacks for these cases and remove the trivial cases from arch
code. On some architectures the existing definitions are kept as these
are used to build other arch_atomic*() operations.

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-5-mark.rutland@arm.com
2023-06-05 09:57:14 +02:00
..
68000 m68knommu: updates and fixes for v6.3 2023-02-27 09:31:02 -08:00
amiga
apollo
atari
bvme6000
coldfire
configs m68k: defconfig: Update defconfigs for v6.3-rc1 2023-04-03 11:00:43 +02:00
emu
fpsp040
hp300
ifpsp060
include locking/atomic: make atomic*_{cmp,}xchg optional 2023-06-05 09:57:14 +02:00
kernel m68k: kexec: Include <linux/reboot.h> 2023-04-21 09:53:54 +02:00
lib
mac
math-emu
mm m68k: mm: Fix systems with memory at end of 32-bit address space 2023-03-06 14:09:42 +01:00
mvme16x
mvme147
q40
sun3
sun3x
tools/amiga
virt
install.sh
Kbuild
Kconfig Kconfig: introduce HAS_IOPORT option and select it as necessary 2023-04-05 22:15:19 +02:00
Kconfig.bus
Kconfig.cpu - Nick Piggin's "shoot lazy tlbs" series, to improve the peformance of 2023-04-27 19:42:02 -07:00
Kconfig.debug m68k: Remove obsolete config NO_KERNEL_MSG 2023-03-20 15:39:14 +01:00
Kconfig.devices m68k: /proc/hardware should depend on PROC_FS 2023-02-13 11:34:49 +01:00
Kconfig.machine m68knommu: updates and fixes for v6.4 2023-04-28 16:37:54 -07:00
Makefile