diff options
Diffstat (limited to 'kernel/time/tick-sched.c')
-rw-r--r-- | kernel/time/tick-sched.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index ee962d11107b..a5c26d2b1323 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c | |||
@@ -289,6 +289,7 @@ void tick_nohz_stop_sched_tick(int inidle) | |||
289 | ts->tick_stopped = 1; | 289 | ts->tick_stopped = 1; |
290 | ts->idle_jiffies = last_jiffies; | 290 | ts->idle_jiffies = last_jiffies; |
291 | rcu_enter_nohz(); | 291 | rcu_enter_nohz(); |
292 | sched_clock_tick_stop(cpu); | ||
292 | } | 293 | } |
293 | 294 | ||
294 | /* | 295 | /* |
@@ -391,6 +392,7 @@ void tick_nohz_restart_sched_tick(void) | |||
391 | select_nohz_load_balancer(0); | 392 | select_nohz_load_balancer(0); |
392 | now = ktime_get(); | 393 | now = ktime_get(); |
393 | tick_do_update_jiffies64(now); | 394 | tick_do_update_jiffies64(now); |
395 | sched_clock_tick_start(cpu); | ||
394 | cpu_clear(cpu, nohz_cpu_mask); | 396 | cpu_clear(cpu, nohz_cpu_mask); |
395 | 397 | ||
396 | /* | 398 | /* |