summaryrefslogtreecommitdiff
path: root/kernel/rcu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcu/Makefile')
-rw-r--r--kernel/rcu/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/rcu/Makefile b/kernel/rcu/Makefile
index e6fae503d1bc..50a808424b06 100644
--- a/kernel/rcu/Makefile
+++ b/kernel/rcu/Makefile
@@ -1,4 +1,5 @@
-obj-y += update.o srcu.o
+obj-y += update.o
+obj-$(CONFIG_SRCU) += srcu.o
obj-$(CONFIG_RCU_TORTURE_TEST) += rcutorture.o
obj-$(CONFIG_TREE_RCU) += tree.o
obj-$(CONFIG_PREEMPT_RCU) += tree.o