OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
edac: move nr_pages to dimm struct
[uclinux-h8/linux.git]
/
drivers
/
edac
/
mv64x60_edac.c
diff --git
a/drivers/edac/mv64x60_edac.c
b/drivers/edac/mv64x60_edac.c
index
d2e3c39
..
281e245
100644
(file)
--- a/
drivers/edac/mv64x60_edac.c
+++ b/
drivers/edac/mv64x60_edac.c
@@
-667,7
+667,8
@@
static void mv64x60_init_csrows(struct mem_ctl_info *mci,
csrow = &mci->csrows[0];
dimm = csrow->channels[0].dimm;
- csrow->nr_pages = pdata->total_mem >> PAGE_SHIFT;
+
+ dimm->nr_pages = pdata->total_mem >> PAGE_SHIFT;
dimm->grain = 8;
dimm->mtype = (ctl & MV64X60_SDRAM_REGISTERED) ? MEM_RDDR : MEM_DDR;