]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - kernel/rcu/rcutorture.c
Apply preempt_rt patch-4.9-rt1.patch.xz
[zynq/linux.git] / kernel / rcu / rcutorture.c
index bf08fee53dc7526a0342862976c66c40063432ed..eeb8ce4ad7b676a7accab4d6797d0cc999a26ee1 100644 (file)
@@ -404,6 +404,7 @@ static struct rcu_torture_ops rcu_ops = {
        .name           = "rcu"
 };
 
+#ifndef CONFIG_PREEMPT_RT_FULL
 /*
  * Definitions for rcu_bh torture testing.
  */
@@ -443,6 +444,12 @@ static struct rcu_torture_ops rcu_bh_ops = {
        .name           = "rcu_bh"
 };
 
+#else
+static struct rcu_torture_ops rcu_bh_ops = {
+       .ttype          = INVALID_RCU_FLAVOR,
+};
+#endif
+
 /*
  * Don't even think about trying any of these in real life!!!
  * The names includes "busted", and they really means it!