summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/Makefile
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2023-05-31 15:08:39 +0200
committerPeter Zijlstra <peterz@infradead.org>2023-06-05 09:36:37 +0200
commit6d12c8d308e68b9b0fa98ca2df4f83db4b4c965d (patch)
tree442e57e61e0b36dd4b9bc4028450812344d1e198 /arch/x86/lib/Makefile
parentc5c0ba953b8c969c5d51bf1c57f239866a97c47c (diff)
downloadlinux-stable-6d12c8d308e68b9b0fa98ca2df4f83db4b4c965d.tar.gz
linux-stable-6d12c8d308e68b9b0fa98ca2df4f83db4b4c965d.tar.bz2
linux-stable-6d12c8d308e68b9b0fa98ca2df4f83db4b4c965d.zip
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
Diffstat (limited to 'arch/x86/lib/Makefile')
-rw-r--r--arch/x86/lib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile
index 01932af64193..ea3a28e7b613 100644
--- a/arch/x86/lib/Makefile
+++ b/arch/x86/lib/Makefile
@@ -61,8 +61,9 @@ ifeq ($(CONFIG_X86_32),y)
lib-y += strstr_32.o
lib-y += string_32.o
lib-y += memmove_32.o
+ lib-y += cmpxchg8b_emu.o
ifneq ($(CONFIG_X86_CMPXCHG64),y)
- lib-y += cmpxchg8b_emu.o atomic64_386_32.o
+ lib-y += atomic64_386_32.o
endif
else
obj-y += iomap_copy_64.o