From: Wan Wei Date: Mon, 27 Jul 2009 12:34:15 +0000 (+0200) Subject: amd64_edac: read the right F2 maskoffset reg X-Git-Tag: MMI-PSA29.97-13-9~27329^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4afcd2dcc6d89da696fc9d469a909adafa9d3636;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git amd64_edac: read the right F2 maskoffset reg Signed-off-by: Wan Wei Signed-off-by: Borislav Petkov --- diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index 858fe6037223..24964c1d0af9 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@ -970,7 +970,7 @@ static void amd64_read_dct_base_mask(struct amd64_pvt *pvt) } for (cs = 0; cs < pvt->num_dcsm; cs++) { - reg = K8_DCSB0 + (cs * 4); + reg = K8_DCSM0 + (cs * 4); err = pci_read_config_dword(pvt->dram_f2_ctl, reg, &pvt->dcsm0[cs]); if (unlikely(err))