patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / ppc64 / lib / Makefile
index dba8dca..713ae47 100644 (file)
@@ -4,3 +4,8 @@
 
 lib-y := checksum.o dec_and_lock.o string.o strcase.o
 lib-y += copypage.o memcpy.o copyuser.o
+
+# Lock primitives are defined as no-ops in include/linux/spinlock.h
+# for non-SMP configs. Don't build the real versions.
+
+lib-$(CONFIG_SMP) += locks.o