summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-07-03 08:30:30 -0500
committerThomas Gleixner <tglx@linutronix.de>2009-07-27 19:31:18 +0200
commitb526aded4c39a83d7042b9b16dee342e1f600795 (patch)
treeb308f64f55606e0c7ac045600234849fdfdf51ad /init
parent33a93eaaf4d07962ce36dce966f5a7726520d607 (diff)
downloadlwn-b526aded4c39a83d7042b9b16dee342e1f600795.tar.gz
lwn-b526aded4c39a83d7042b9b16dee342e1f600795.zip
RCU: Force PREEMPT_RCU for PREEMPT-RT
PREEMPT_RT relies on PREEMPT_RCU - only allow RCU to be configured interactively in the !PREEMPT_RT case. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 1ce05a4cb5f6..43cef1e42ba2 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -318,6 +318,7 @@ choice
config CLASSIC_RCU
bool "Classic RCU"
+ depends on !PREEMPT_RT
help
This option selects the classic RCU implementation that is
designed for best read-side performance on non-realtime
@@ -327,6 +328,7 @@ config CLASSIC_RCU
config TREE_RCU
bool "Tree-based hierarchical RCU"
+ depends on !PREEMPT_RT
help
This option selects the RCU implementation that is
designed for very large SMP system with hundreds or