Permalink
Browse files

Unhacking tiny rcu a little bit

  • Loading branch information...
1 parent 0497e32 commit 9f5506d48a594ca66d4846ef76451cd85a6fc101 @tanimn committed May 12, 2011
Showing with 8 additions and 4 deletions.
  1. +1 −1 Kernel/init/Kconfig
  2. +7 −3 Kernel/kernel/Makefile
View
@@ -314,7 +314,7 @@ menu "RCU Subsystem"
choice
prompt "RCU Implementation"
- default TREE_RCU
+ default TINY_RCU
config TREE_RCU
bool "Tree-based hierarchical RCU"
@@ -79,10 +79,14 @@ obj-$(CONFIG_DETECT_HUNG_TASK) += hung_task.o
obj-$(CONFIG_GENERIC_HARDIRQS) += irq/
obj-$(CONFIG_SECCOMP) += seccomp.o
obj-$(CONFIG_RCU_TORTURE_TEST) += rcutorture.o
-# obj-$(CONFIG_TREE_RCU) += rcutree.o
-# obj-$(CONFIG_TREE_PREEMPT_RCU) += rcutree.o
-# obj-$(CONFIG_TREE_RCU_TRACE) += rcutree_trace.o
+ifdef CONFIG_TREE_RCU
+obj-$(CONFIG_TREE_RCU) += rcutree.o
+obj-$(CONFIG_TREE_PREEMPT_RCU) += rcutree.o
+obj-$(CONFIG_TREE_RCU_TRACE) += rcutree_trace.o
+endif
+ifdef CONFIG_TINY_RCU
obj-$(CONFIG_TINY_RCU) += rcutiny.o
+endif
obj-$(CONFIG_RELAY) += relay.o
obj-$(CONFIG_SYSCTL) += utsname_sysctl.o
obj-$(CONFIG_TASK_DELAY_ACCT) += delayacct.o

0 comments on commit 9f5506d

Please sign in to comment.