Move source tree closer to the 2.6.32.17 mainline
/arch/x86/lib/Makefile
blob:c2b6f395a022bfd881e37c2523925df7dd0731d8 -> blob:ac2d426ea35fc867f680e27e6e389c1799bed26d
--- arch/x86/lib/Makefile
+++ arch/x86/lib/Makefile
@@ -2,7 +2,7 @@
# Makefile for x86 specific library files.
#
-obj-$(CONFIG_SMP) += msr-smp.o
+obj-$(CONFIG_SMP) += msr-smp.o cache-smp.o
lib-y := delay.o
lib-y += thunk_$(BITS).o
@@ -26,4 +26,5 @@ else
lib-y += thunk_64.o clear_page_64.o copy_page_64.o
lib-y += memmove_64.o memset_64.o
lib-y += copy_user_64.o rwlock_64.o copy_user_nocache_64.o
+ lib-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem_64.o
endif