diff options
Diffstat (limited to 'kernel/time/tick-sched.c')
-rw-r--r-- | kernel/time/tick-sched.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 1d7b9bc1c034..5f171f04ab00 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c | |||
@@ -408,13 +408,7 @@ void tick_nohz_stop_sched_tick(int inidle) | |||
408 | * the scheduler tick in nohz_restart_sched_tick. | 408 | * the scheduler tick in nohz_restart_sched_tick. |
409 | */ | 409 | */ |
410 | if (!ts->tick_stopped) { | 410 | if (!ts->tick_stopped) { |
411 | if (select_nohz_load_balancer(1)) { | 411 | select_nohz_load_balancer(1); |
412 | /* | ||
413 | * sched tick not stopped! | ||
414 | */ | ||
415 | cpumask_clear_cpu(cpu, nohz_cpu_mask); | ||
416 | goto out; | ||
417 | } | ||
418 | 412 | ||
419 | ts->idle_tick = hrtimer_get_expires(&ts->sched_timer); | 413 | ts->idle_tick = hrtimer_get_expires(&ts->sched_timer); |
420 | ts->tick_stopped = 1; | 414 | ts->tick_stopped = 1; |