diff options
author | Ingo Molnar <mingo@kernel.org> | 2016-09-08 14:05:16 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-09-08 14:05:16 +0200 |
commit | 950d8381d915ee293a5b57f91e59dd8115684af1 (patch) | |
tree | 6a611a808da1e28c3db740ac9a54c01757af2e56 /kernel/time | |
parent | 979515c5645830465739254abc1b1648ada41518 (diff) | |
parent | d71f058617564750261b673ea9b3352382b9cde4 (diff) | |
download | op-kernel-dev-950d8381d915ee293a5b57f91e59dd8115684af1.zip op-kernel-dev-950d8381d915ee293a5b57f91e59dd8115684af1.tar.gz |
Merge branch 'linus' into timers/core, to refresh the branch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/tick-sched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 204fdc8..2ec7c00 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -908,10 +908,11 @@ static void __tick_nohz_idle_enter(struct tick_sched *ts) ktime_t now, expires; int cpu = smp_processor_id(); + now = tick_nohz_start_idle(ts); + if (can_stop_idle_tick(cpu, ts)) { int was_stopped = ts->tick_stopped; - now = tick_nohz_start_idle(ts); ts->idle_calls++; expires = tick_nohz_stop_sched_tick(ts, now, cpu); |