summaryrefslogtreecommitdiff
path: root/kernel/locking/Makefile
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2015-08-11 18:26:29 +0300
committerOleg Nesterov <oleg@redhat.com>2015-08-15 14:52:11 +0300
commitbf3eac84c42da7017610abc8cfba64921ea92c76 (patch)
treec044f252a7340910f2cb7ae18d79bc599568bd5a /kernel/locking/Makefile
parent55cc156505f2e43fa45dbd4bfe8f9c9d848ca44c (diff)
downloadlinux-bf3eac84c42da7017610abc8cfba64921ea92c76.tar.xz
percpu-rwsem: kill CONFIG_PERCPU_RWSEM
Remove CONFIG_PERCPU_RWSEM, the next patch adds the unconditional user of percpu_rw_semaphore. Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Diffstat (limited to 'kernel/locking/Makefile')
-rw-r--r--kernel/locking/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/locking/Makefile b/kernel/locking/Makefile
index 7dd5c9918e4c..4c6a97e1a849 100644
--- a/kernel/locking/Makefile
+++ b/kernel/locking/Makefile
@@ -1,5 +1,5 @@
-obj-y += mutex.o semaphore.o rwsem.o
+obj-y += mutex.o semaphore.o rwsem.o percpu-rwsem.o
ifdef CONFIG_FUNCTION_TRACER
CFLAGS_REMOVE_lockdep.o = $(CC_FLAGS_FTRACE)
@@ -25,6 +25,5 @@ obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o
obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem-xadd.o
-obj-$(CONFIG_PERCPU_RWSEM) += percpu-rwsem.o
obj-$(CONFIG_QUEUED_RWLOCKS) += qrwlock.o
obj-$(CONFIG_LOCK_TORTURE_TEST) += locktorture.o