summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-06-29 19:02:53 (GMT)
committerEmil Medve <Emilian.Medve@Freescale.com>2013-05-26 07:13:55 (GMT)
commit872593ffde2245ec8706ad8f321728c19fcaaf75 (patch)
tree006eb99e209cf296828df936901d20e1e8f5f5d7 /lib/Makefile
parent7c545c5e076f178584efb451018373e17ab2f6b4 (diff)
downloadlinux-fsl-qoriq-872593ffde2245ec8706ad8f321728c19fcaaf75.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))