EDAC: Fix csrow size reported in sysfs
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 13 Sep 2012 16:53:58 +0000 (18:53 +0200)
committerBorislav Petkov <bp@alien8.de>
Wed, 28 Nov 2012 10:54:40 +0000 (11:54 +0100)
commit16a528ee3975c860dc93fbfc718fe9aa25ed92bc
treeea0d20d3544df6dfe2977634d1a4cc837f80b964
parent921a689965c26ae6fde12ebaadb4183cbfdb01fb
EDAC: Fix csrow size reported in sysfs

On csrow-based memory controllers, we combine the csrow size from both
channels and there's no need to do that again in csrow_size_show which
leads to double the size of a csrow.

Fix it.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c
drivers/edac/edac_mc_sysfs.c
include/linux/edac.h