x86: Don't generate cmpxchg8b_emu if CONFIG_X86_CMPXCHG64=y
[deliverable/linux.git] / arch / x86 / lib / Makefile
index 9e609206fac9b668b906c5949a3b018f9804752c..85f5db95c60f03718f292080587f7faa337ef570 100644 (file)
@@ -16,7 +16,9 @@ ifeq ($(CONFIG_X86_32),y)
         lib-y += checksum_32.o
         lib-y += strstr_32.o
         lib-y += semaphore_32.o string_32.o
-
+ifneq ($(CONFIG_X86_CMPXCHG64),y)
+        lib-y += cmpxchg8b_emu.o
+endif
         lib-$(CONFIG_X86_USE_3DNOW) += mmx_32.o
 else
         obj-y += io_64.o iomap_copy_64.o
This page took 0.025019 seconds and 5 git commands to generate.