diff options
Diffstat (limited to 'kernel/time/tick-sched.c')
-rw-r--r-- | kernel/time/tick-sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index f423bdd035c2..a40260885265 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c | |||
@@ -835,7 +835,7 @@ static enum hrtimer_restart tick_sched_timer(struct hrtimer *timer) | |||
835 | */ | 835 | */ |
836 | if (ts->tick_stopped) { | 836 | if (ts->tick_stopped) { |
837 | touch_softlockup_watchdog(); | 837 | touch_softlockup_watchdog(); |
838 | if (idle_cpu(cpu)) | 838 | if (is_idle_task(current)) |
839 | ts->idle_jiffies++; | 839 | ts->idle_jiffies++; |
840 | } | 840 | } |
841 | update_process_times(user_mode(regs)); | 841 | update_process_times(user_mode(regs)); |