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-04-10 00:19:25 (GMT)
commita82ee54429c434ae1b54481ca5afb9f04e4840e4 (patch)
treeb8401daf848710eec76391ca45a9b0cc75a086cb /lib
parent5cb7a82d082067227c7de798f1a5ee8a3c9bbf2e (diff)
downloadlinux-fsl-qoriq-a82ee54429c434ae1b54481ca5afb9f04e4840e4.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