summaryrefslogtreecommitdiff
path: root/drivers/edac
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-09-16 17:36:12 +0200
committerBorislav Petkov <bp@amd64.org>2010-10-21 14:48:05 +0200
commitcb9d5ecdff66197f65a6be8032ccc1ebf7199684 (patch)
tree145f8b4d9576a6a4adc6dab8382f7f9f887fd046 /drivers/edac
parente7281eb37da045abac5bd795d1169fc2e3eeea49 (diff)
EDAC, MCE: Add F12h NB MCE decoder
F12h is completely covered by the generic path. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/mce_amd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c
index fc3712f1b921..6501392389af 100644
--- a/drivers/edac/mce_amd.c
+++ b/drivers/edac/mce_amd.c
@@ -427,7 +427,7 @@ out:
return ret;
}
-static bool f14h_nb_mce(u16 ec, u8 xec)
+static bool nb_noop_mce(u16 ec, u8 xec)
{
return false;
}
@@ -641,13 +641,14 @@ static int __init mce_amd_init(void)
case 0x12:
fam_ops->dc_mce = f12h_dc_mce;
fam_ops->ic_mce = k8_ic_mce;
+ fam_ops->nb_mce = nb_noop_mce;
break;
case 0x14:
nb_err_cpumask = 0x3;
fam_ops->dc_mce = f14h_dc_mce;
fam_ops->ic_mce = f14h_ic_mce;
- fam_ops->nb_mce = f14h_nb_mce;
+ fam_ops->nb_mce = nb_noop_mce;
break;
default: