diff options
| -rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index a389c1d859ec..4d5419b249da 100644 --- a/arch/x86/kernel/cpu/mcheck/mce.c +++ b/arch/x86/kernel/cpu/mcheck/mce.c | |||
| @@ -1638,15 +1638,15 @@ static void __mcheck_cpu_init_vendor(struct cpuinfo_x86 *c) | |||
| 1638 | 1638 | ||
| 1639 | static void mce_start_timer(unsigned int cpu, struct timer_list *t) | 1639 | static void mce_start_timer(unsigned int cpu, struct timer_list *t) |
| 1640 | { | 1640 | { |
| 1641 | unsigned long iv = mce_adjust_timer(check_interval * HZ); | 1641 | unsigned long iv = check_interval * HZ; |
| 1642 | |||
| 1643 | __this_cpu_write(mce_next_interval, iv); | ||
| 1644 | 1642 | ||
| 1645 | if (mca_cfg.ignore_ce || !iv) | 1643 | if (mca_cfg.ignore_ce || !iv) |
| 1646 | return; | 1644 | return; |
| 1647 | 1645 | ||
| 1646 | per_cpu(mce_next_interval, cpu) = iv; | ||
| 1647 | |||
| 1648 | t->expires = round_jiffies(jiffies + iv); | 1648 | t->expires = round_jiffies(jiffies + iv); |
| 1649 | add_timer_on(t, smp_processor_id()); | 1649 | add_timer_on(t, cpu); |
| 1650 | } | 1650 | } |
| 1651 | 1651 | ||
| 1652 | static void __mcheck_cpu_init_timer(void) | 1652 | static void __mcheck_cpu_init_timer(void) |
