summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2016-02-26 13:19:20 -0600
committerSteven Rostedt <rostedt@goodmis.org>2016-11-16 14:23:18 -0500
commit691e9c50c66c4576435a39524a2e4e30b760a598 (patch)
tree4323c1976fa37e28cfdb0f83d802504f3db1ddae
parentc715f0abf749649c83484a5dc8721e2ffe2b4eb6 (diff)
downloadlinux-rt-691e9c50c66c4576435a39524a2e4e30b760a598.tar.gz
rcu/torture: Comment out rcu_bh ops on PREEMPT_RT_FULL
RT has dropped support of rcu_bh, comment out in rcutorture. Signed-off-by: Clark Williams <williams@redhat.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--kernel/rcutorture.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c
index a89b381a8c6e..8de00304751b 100644
--- a/kernel/rcutorture.c
+++ b/kernel/rcutorture.c
@@ -485,6 +485,7 @@ static struct rcu_torture_ops rcu_expedited_ops = {
.name = "rcu_expedited"
};
+#ifndef CONFIG_PREEMPT_RT_FULL
/*
* Definitions for rcu_bh torture testing.
*/
@@ -558,6 +559,12 @@ static struct rcu_torture_ops rcu_bh_expedited_ops = {
.name = "rcu_bh_expedited"
};
+#else
+static struct rcu_torture_ops rcu_bh_ops = {
+ .ttype = INVALID_RCU_FLAVOR,
+};
+#endif
+
/*
* Definitions for srcu torture testing.
*/