i7300_edac: Properly initialize per-csrow memory size
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 24 Sep 2010 14:53:52 +0000 (11:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 24 Sep 2010 17:16:12 +0000 (14:16 -0300)
commite6649cc62949f1ed473bf1131fa425cfe72d3f64
treebb24bcc207278c3c34b27f7e7e6ab82886a7f40e
parent1aa4a7b6b082adbfa704988dd098bc96b8837d5a
i7300_edac: Properly initialize per-csrow memory size

Due to the current edac-core limits, we cannot represent a per-channel
memory size, for FB-DIMM drivers. So, we need to sum-up all values
for each slot, in order to properly represent the total amount of
memory found by the i7300 driver.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7300_edac.c