diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index f9f036c0e632b4dcd5151e72253ad5bb2488414f..5a9c279567921b5e0d258921dd86f0af400cbc42 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c @@ -824,8 +824,7 @@ static int do_sched_rt_period_timer(struct rt_bandwidth *rt_b, int overrun) * off to kill the perturbations it causes anyway. Meanwhile, * this maintains functionality for boot and/or troubleshooting. */ - if (rt_b == &root_task_group.rt_bandwidth) - span = cpu_online_mask; + span = cpu_online_mask; #endif for_each_cpu(i, span) { int enqueue = 0;