diff options
Diffstat (limited to 'drivers/edac/i82860_edac.c')
-rw-r--r-- | drivers/edac/i82860_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/i82860_edac.c b/drivers/edac/i82860_edac.c index 3eb77845cfca..8485bbf4379f 100644 --- a/drivers/edac/i82860_edac.c +++ b/drivers/edac/i82860_edac.c | |||
@@ -167,7 +167,7 @@ static void i82860_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev) | |||
167 | 167 | ||
168 | csrow->first_page = last_cumul_size; | 168 | csrow->first_page = last_cumul_size; |
169 | csrow->last_page = cumul_size - 1; | 169 | csrow->last_page = cumul_size - 1; |
170 | csrow->nr_pages = cumul_size - last_cumul_size; | 170 | dimm->nr_pages = cumul_size - last_cumul_size; |
171 | last_cumul_size = cumul_size; | 171 | last_cumul_size = cumul_size; |
172 | dimm->grain = 1 << 12; /* I82860_EAP has 4KiB reolution */ | 172 | dimm->grain = 1 << 12; /* I82860_EAP has 4KiB reolution */ |
173 | dimm->mtype = MEM_RMBS; | 173 | dimm->mtype = MEM_RMBS; |