percpu: Wire up cmpxchg128
authorPeter Zijlstra <peterz@infradead.org>
Wed, 31 May 2023 13:08:39 +0000 (15:08 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 5 Jun 2023 07:36:37 +0000 (09:36 +0200)
commit6d12c8d308e68b9b0fa98ca2df4f83db4b4c965d
tree442e57e61e0b36dd4b9bc4028450812344d1e198
parentc5c0ba953b8c969c5d51bf1c57f239866a97c47c
percpu: Wire up cmpxchg128

In order to replace cmpxchg_double() with the newly minted
cmpxchg128() family of functions, wire it up in this_cpu_cmpxchg().

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20230531132323.654945124@infradead.org
arch/arm64/include/asm/percpu.h
arch/s390/include/asm/percpu.h
arch/x86/include/asm/percpu.h
arch/x86/lib/Makefile
arch/x86/lib/cmpxchg16b_emu.S
arch/x86/lib/cmpxchg8b_emu.S
include/asm-generic/percpu.h