kernel/kernel/rcu/rcutorture.c
.. .. @@ -434,6 +434,7 @@ 434 434 .name = "rcu" 435 435 }; 436 436 437 +#ifndef CONFIG_PREEMPT_RT_FULL437 438 /* 438 439 * Definitions for rcu_bh torture testing. 439 440 */ .. .. @@ -475,6 +476,12 @@ 475 476 .name = "rcu_bh" 476 477 }; 477 478 479 +#else480 +static struct rcu_torture_ops rcu_bh_ops = {481 + .ttype = INVALID_RCU_FLAVOR,482 +};483 +#endif484 +478 485 /* 479 486 * Don't even think about trying any of these in real life!!! 480 487 * The names includes "busted", and they really means it!