[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <86bb1aef0907241215v3d693c6n40721684d16c4740@mail.gmail.com>
Date: Sat, 25 Jul 2009 03:15:05 +0800
From: wan wei <onewayforever@...il.com>
To: dougthompson@...ssion.com, borislav.petkov@....com
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] amd64_edac: to read the right f2maskoffset reg
Signed-off-by: Wan Wei<wanwei@...l.dawning.com.cn, onewayforever@...il.com>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists