summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-06-29 19:02:53 (GMT)
committerScott Wood <scottwood@freescale.com>2014-05-14 18:38:25 (GMT)
commit6b87ec957584c0a9b4046e1b0d07a88f4141fbfb (patch)
tree53e0b76e1bb565fdd741a30d1e26b7ca54243809 /lib
parent060f50b6ca6a3a3f9e1304fba70f4306c821ef95 (diff)
downloadlinux-fsl-qoriq-6b87ec957584c0a9b4046e1b0d07a88f4141fbfb.tar.xz
rwsem-add-rt-variant.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 6af6fbb..4461595 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -43,8 +43,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
GCOV_PROFILE_hweight.o := n