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
Showing
- arch/arm64/include/asm/percpu.h 20 additions, 0 deletionsarch/arm64/include/asm/percpu.h
- arch/s390/include/asm/percpu.h 16 additions, 0 deletionsarch/s390/include/asm/percpu.h
- arch/x86/include/asm/percpu.h 68 additions, 6 deletionsarch/x86/include/asm/percpu.h
- arch/x86/lib/Makefile 2 additions, 1 deletionarch/x86/lib/Makefile
- arch/x86/lib/cmpxchg16b_emu.S 25 additions, 18 deletionsarch/x86/lib/cmpxchg16b_emu.S
- arch/x86/lib/cmpxchg8b_emu.S 53 additions, 14 deletionsarch/x86/lib/cmpxchg8b_emu.S
- include/asm-generic/percpu.h 56 additions, 0 deletionsinclude/asm-generic/percpu.h
Please register or sign in to comment