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: v3.0~8387^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4afcd2dcc6d89da696fc9d469a909adafa9d3636;p=platform%2Fkernel%2Flinux-amlogic.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 858fe60..24964c1 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))