|
@@ -942,7 +942,8 @@ static const char *decode_error_status(struct mce *m)
|
|
|
return "Corrected error, no action required.";
|
|
|
}
|
|
|
|
|
|
-int amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data)
|
|
|
+static int
|
|
|
+amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data)
|
|
|
{
|
|
|
struct mce *m = (struct mce *)data;
|
|
|
struct cpuinfo_x86 *c = &cpu_data(m->extcpu);
|
|
@@ -1047,7 +1048,6 @@ int amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data)
|
|
|
|
|
|
return NOTIFY_STOP;
|
|
|
}
|
|
|
-EXPORT_SYMBOL_GPL(amd_decode_mce);
|
|
|
|
|
|
static struct notifier_block amd_mce_dec_nb = {
|
|
|
.notifier_call = amd_decode_mce,
|