Messages in this thread Patch in this message | | | From | Mauro Carvalho Chehab <> | Subject | [PATCH 3/4] amd64_edac: Fix the rank number of pages count | Date | Mon, 12 Mar 2012 09:48:34 -0300 |
| |
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.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 ea7eb9a..d74bcd3 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@ -2227,7 +2227,7 @@ static int init_csrows(struct mem_ctl_info *mci) for (j = 0; j < pvt->channel_count; j++) { csrow->channels[j].dimm->mtype = mtype; csrow->channels[j].dimm->edac_mode = edac_mode; - csrow->channels[j].dimm->nr_pages = nr_pages / pvt->channel_count; + csrow->channels[j].dimm->nr_pages = nr_pages; } -- 1.7.8
| |