Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169871
b: refs/heads/master
c: b33a636
h: refs/heads/master
i:
  169869: bd36a64
  169867: 3fc3e01
  169863: 708f27d
  169855: 5b68cb3
v: v3
  • Loading branch information
Borislav Petkov authored and Ingo Molnar committed Oct 16, 2009
1 parent 74739cb commit 67da75e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e09954a9acc3b435ffe318b95afd3c02fae069f
refs/heads/master: b33a6363649f0ff83ec81597ea7fe7e688f973cb
10 changes: 8 additions & 2 deletions trunk/arch/x86/kernel/cpu/mcheck/mce.c
Original file line number Diff line number Diff line change
Expand Up @@ -1436,8 +1436,6 @@ void __cpuinit mcheck_cpu_init(struct cpuinfo_x86 *c)
__mcheck_cpu_init_timer();
INIT_WORK(&__get_cpu_var(mce_work), mce_process_work);

if (raw_smp_processor_id() == 0)
atomic_notifier_chain_register(&x86_mce_decoder_chain, &mce_dec_nb);
}

/*
Expand Down Expand Up @@ -1657,6 +1655,14 @@ static int __init mcheck_enable(char *str)
}
__setup("mce", mcheck_enable);

static int __init mcheck_init(void)
{
atomic_notifier_chain_register(&x86_mce_decoder_chain, &mce_dec_nb);

return 0;
}
early_initcall(mcheck_init);

/*
* Sysfs support
*/
Expand Down

0 comments on commit 67da75e

Please sign in to comment.