mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
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>
This commit is contained in:
parent
4be3bd7849
commit
4afcd2dcc6
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue