hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/kernel/rcu/rcutorture.c
....@@ -434,6 +434,7 @@
434434 .name = "rcu"
435435 };
436436
437
+#ifndef CONFIG_PREEMPT_RT_FULL
437438 /*
438439 * Definitions for rcu_bh torture testing.
439440 */
....@@ -475,6 +476,12 @@
475476 .name = "rcu_bh"
476477 };
477478
479
+#else
480
+static struct rcu_torture_ops rcu_bh_ops = {
481
+ .ttype = INVALID_RCU_FLAVOR,
482
+};
483
+#endif
484
+
478485 /*
479486 * Don't even think about trying any of these in real life!!!
480487 * The names includes "busted", and they really means it!