|
@@ -16,7 +16,7 @@
|
|
|
|
|
|
#include "mce.h"
|
|
#include "mce.h"
|
|
|
|
|
|
-int mce_disabled __devinitdata = 0;
|
|
|
|
|
|
+int mce_disabled = 0;
|
|
int nr_mce_banks;
|
|
int nr_mce_banks;
|
|
|
|
|
|
EXPORT_SYMBOL_GPL(nr_mce_banks); /* non-fatal.o */
|
|
EXPORT_SYMBOL_GPL(nr_mce_banks); /* non-fatal.o */
|
|
@@ -31,7 +31,7 @@ static fastcall void unexpected_machine_check(struct pt_regs * regs, long error_
|
|
void fastcall (*machine_check_vector)(struct pt_regs *, long error_code) = unexpected_machine_check;
|
|
void fastcall (*machine_check_vector)(struct pt_regs *, long error_code) = unexpected_machine_check;
|
|
|
|
|
|
/* This has to be run for each processor */
|
|
/* This has to be run for each processor */
|
|
-void __devinit mcheck_init(struct cpuinfo_x86 *c)
|
|
|
|
|
|
+void mcheck_init(struct cpuinfo_x86 *c)
|
|
{
|
|
{
|
|
if (mce_disabled==1)
|
|
if (mce_disabled==1)
|
|
return;
|
|
return;
|