summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-06-29 19:02:53 (GMT)
committerScott Wood <scottwood@freescale.com>2013-04-04 22:09:26 (GMT)
commit891fb15c46eae2e29bf3aad918aa78a8a4a42dd7 (patch)
tree388ddabcb3c81b6c1b1b6ab28b3e4bea06b19c0a /lib/Makefile
parentc6b8bb2fbebdf7ae1a8e7dff4c666f2c8278178a (diff)
downloadlinux-fsl-qoriq-891fb15c46eae2e29bf3aad918aa78a8a4a42dd7.tar.xz
rwsem-add-rt-variant.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 02ed6c0..7e961f1 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -38,8 +38,11 @@ obj-$(CONFIG_HAS_IOMEM) += iomap_copy.o devres.o
obj-$(CONFIG_CHECK_SIGNATURE) += check_signature.o
obj-$(CONFIG_DEBUG_LOCKING_API_SELFTESTS) += locking-selftest.o
obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
+
+ifneq ($(CONFIG_PREEMPT_RT_FULL),y)
lib-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
lib-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem.o
+endif
lib-$(CONFIG_PERCPU_RWSEM) += percpu-rwsem.o
CFLAGS_hweight.o = $(subst $(quote),,$(CONFIG_ARCH_HWEIGHT_CFLAGS))