aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/r82600_edac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/r82600_edac.c')
-rw-r--r--drivers/edac/r82600_edac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/edac/r82600_edac.c b/drivers/edac/r82600_edac.c
index 70b0dfa81db4..c41b375e1f38 100644
--- a/drivers/edac/r82600_edac.c
+++ b/drivers/edac/r82600_edac.c
@@ -249,7 +249,8 @@ static void r82600_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev,
249 249
250 csrow->first_page = row_base >> PAGE_SHIFT; 250 csrow->first_page = row_base >> PAGE_SHIFT;
251 csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1; 251 csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1;
252 csrow->nr_pages = csrow->last_page - csrow->first_page + 1; 252
253 dimm->nr_pages = csrow->last_page - csrow->first_page + 1;
253 /* Error address is top 19 bits - so granularity is * 254 /* Error address is top 19 bits - so granularity is *
254 * 14 bits */ 255 * 14 bits */
255 dimm->grain = 1 << 14; 256 dimm->grain = 1 << 14;