diff options
author | Wan Wei <onewayforever@gmail.com> | 2009-07-27 14:34:15 +0200 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2009-07-27 14:42:24 +0200 |
commit | 4afcd2dcc6d89da696fc9d469a909adafa9d3636 (patch) | |
tree | 510863545655df5607429cef562487d512a1684b /drivers/edac | |
parent | Linux 2.6.31-rc4 (diff) | |
download | linux-4afcd2dcc6d89da696fc9d469a909adafa9d3636.tar.xz linux-4afcd2dcc6d89da696fc9d469a909adafa9d3636.zip |
amd64_edac: read the right F2 maskoffset reg
Signed-off-by: Wan Wei <onewayforever@gmail.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/amd64_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |