forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-07 2a9a9d4f6c07f2f23b663fe5fbeac1168a5d1029
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!