diff options
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/tick-sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 0eed1db2d792..012142187db9 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c | |||
@@ -469,6 +469,7 @@ static bool can_stop_idle_tick(int cpu, struct tick_sched *ts) | |||
469 | if (unlikely(!cpu_online(cpu))) { | 469 | if (unlikely(!cpu_online(cpu))) { |
470 | if (cpu == tick_do_timer_cpu) | 470 | if (cpu == tick_do_timer_cpu) |
471 | tick_do_timer_cpu = TICK_DO_TIMER_NONE; | 471 | tick_do_timer_cpu = TICK_DO_TIMER_NONE; |
472 | return false; | ||
472 | } | 473 | } |
473 | 474 | ||
474 | if (unlikely(ts->nohz_mode == NOHZ_MODE_INACTIVE)) | 475 | if (unlikely(ts->nohz_mode == NOHZ_MODE_INACTIVE)) |