diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-06-29 21:02:53 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-01-16 18:12:37 -0500 |
commit | be5137a0fe0f9ef66f2fd89be1b0d0eb34dc6be3 (patch) | |
tree | 16423905de9b20b37dcbd77bca9fcaea3083f43c /lib | |
parent | 8d360b52749df2fce92fabdbe78df30ef31061af (diff) | |
download | linux-rt-be5137a0fe0f9ef66f2fd89be1b0d0eb34dc6be3.tar.gz |
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 9efe480b975e..ab76fa2b3b1d 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -41,8 +41,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 |