diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-06-29 19:02:53 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-02-13 22:20:43 (GMT) |
commit | 30eeff240f5661cad03363da9c3c318e9d3afb3e (patch) | |
tree | 661a22fdd3d52c203528d1e290c32588dc82c2f9 /lib | |
parent | 030bd60cd1e8c3d595a9edb04d5316c7d886b968 (diff) | |
download | linux-fsl-qoriq-30eeff240f5661cad03363da9c3c318e9d3afb3e.tar.xz |
rwsem-add-rt-variant.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 3 |
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 |