diff options
-rw-r--r-- | kernel/timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/timer.c b/kernel/timer.c index a71bdfdb51e7..31824ef3eb96 100644 --- a/kernel/timer.c +++ b/kernel/timer.c | |||
@@ -1681,9 +1681,9 @@ void __init init_timers(void) | |||
1681 | 1681 | ||
1682 | err = timer_cpu_notify(&timers_nb, (unsigned long)CPU_UP_PREPARE, | 1682 | err = timer_cpu_notify(&timers_nb, (unsigned long)CPU_UP_PREPARE, |
1683 | (void *)(long)smp_processor_id()); | 1683 | (void *)(long)smp_processor_id()); |
1684 | init_timer_stats(); | ||
1685 | |||
1686 | BUG_ON(err != NOTIFY_OK); | 1684 | BUG_ON(err != NOTIFY_OK); |
1685 | |||
1686 | init_timer_stats(); | ||
1687 | register_cpu_notifier(&timers_nb); | 1687 | register_cpu_notifier(&timers_nb); |
1688 | open_softirq(TIMER_SOFTIRQ, run_timer_softirq); | 1688 | open_softirq(TIMER_SOFTIRQ, run_timer_softirq); |
1689 | } | 1689 | } |