Skip to content

Commit

Permalink
EDAC, MCE: Add F12h NB MCE decoder
Browse files Browse the repository at this point in the history
F12h is completely covered by the generic path.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
  • Loading branch information
Borislav Petkov authored and Borislav Petkov committed Oct 21, 2010
1 parent e7281eb commit cb9d5ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/edac/mce_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ static bool f10h_nb_mce(u16 ec, u8 xec)
return ret;
}

static bool f14h_nb_mce(u16 ec, u8 xec)
static bool nb_noop_mce(u16 ec, u8 xec)
{
return false;
}
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit cb9d5ec

Please sign in to comment.