diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index 2cf3f22831d..1be9b5ad65f 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c @@ -663,6 +663,7 @@ static int hrtimer_reprogram(struct hrtimer *timer, static inline void hrtimer_init_hres(struct hrtimer_cpu_base *base) { base->expires_next.tv64 = KTIME_MAX; + base->hang_detected = 0; base->hres_active = 0; } @@ -1652,6 +1653,7 @@ static void __cpuinit init_hrtimers_cpu(int cpu) timerqueue_init_head(&cpu_base->clock_base[i].active); } + cpu_base->active_bases = 0; hrtimer_init_hres(cpu_base); }