blob: 6b96dbed51fe8a6761a9237e5b7d529eec4b5db8 [file] [log] [blame]
From 858c304c5783274a4b8455c7c3af2cc82dc854c0 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:30:30 -0500
Subject: [PATCH] RCU: Force PREEMPT_RCU for PREEMPT-RT
commit b526aded4c39a83d7042b9b16dee342e1f600795 in tip.
PREEMPT_RT relies on PREEMPT_RCU - only allow RCU to be configured
interactively in the !PREEMPT_RT case.
[PG: add TINY_RCU to blacklist]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
diff --git a/init/Kconfig b/init/Kconfig
index d95ca7c..9a50980 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -328,6 +328,7 @@ choice
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
@@ -346,7 +347,7 @@ config TREE_PREEMPT_RCU
config TINY_RCU
bool "UP-only small-memory-footprint RCU"
- depends on !SMP
+ depends on !SMP && !PREEMPT_RT
help
This option selects the RCU implementation that is
designed for UP systems from which real-time response
--
1.7.1.1