]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
amd64_edac: Correct DIMM sizes
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 11 Mar 2013 12:07:46 +0000 (09:07 -0300)
committerBorislav Petkov <bp@suse.de>
Sat, 16 Mar 2013 05:32:02 +0000 (06:32 +0100)
commit1eef1282549d7accdd33ee36d409b039b1f911fb
treebf1be1193b2bcf6d2ab45fbcca7755050399be97
parentfbe2d3616cee37418d832b30130811888c5aaf34
amd64_edac: Correct DIMM sizes

We were filling the csrow size with a wrong value. 16a528ee3975 ("EDAC:
Fix csrow size reported in sysfs") tried to address the issue. It fixed
the report with the old API but not with the new one. Correct it for the
new API too.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
[ make it a per-csrow accounting regardless of ->channel_count ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/amd64_edac.c
drivers/edac/edac_mc_sysfs.c
include/linux/edac.h