linux-stable/arch/csky
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
..
abiv1 arch/csky patches for 6.4 2023-05-04 12:25:05 -07:00
abiv2 csky: mmu: Prevent spurious page faults 2023-04-13 02:36:14 -04:00
boot
configs
include locking/atomic: make atomic*_{cmp,}xchg optional 2023-06-05 09:57:14 +02:00
kernel SMP cross-CPU function-call updates for v6.4: 2023-04-28 15:03:43 -07:00
lib csky: delay: Add function alignment 2022-12-29 23:47:52 -05:00
mm - The usual batches of cleanups from Baoquan He, Muchun Song, Miaohe 2022-08-05 16:32:45 -07:00
Kbuild
Kconfig arch/csky patches for 6.4 2023-05-04 12:25:05 -07:00
Kconfig.debug
Kconfig.platforms
Makefile kbuild: remove head-y syntax 2022-10-02 18:06:03 +09:00