Message ID | 1369776027-17859-38-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index e78feff..8853dab 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -903,7 +903,7 @@ void tick_cancel_sched_timer(int cpu) hrtimer_cancel(&ts->sched_timer); # endif - ts->nohz_mode = NOHZ_MODE_INACTIVE; + memset(ts, 0, sizeof(*ts)); } #endif