Signed-off-by: Wan Wei<[email protected], [email protected]>
---
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 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))
--
1.4.4.2
Hi,
On Sat, Jul 25, 2009 at 03:15:05AM +0800, wan wei wrote:
> Signed-off-by: Wan Wei<[email protected], [email protected]>
Nice catch, thanks. Applied.
P.S. Please use only one email address in your Signed-off-by. I'm going
to default to your sender email address.
> ---
> 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 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))
> --
> 1.4.4.2
>
--
Regards/Gruss,
Boris.
Operating | Advanced Micro Devices GmbH
System | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. M?nchen, Germany
Research | Gesch?ftsf?hrer: Thomas M. McCoy, Giuliano Meroni
Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis M?nchen
(OSRC) | Registergericht M?nchen, HRB Nr. 43632