]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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 <borislav.petkov@amd.com>
Tue, 16 Oct 2012 14:15:48 +0000 (16:15 +0200)
commit6346c699cd22369bc7554642399e6315bd6a0000
treea26d376ce8f5c1605057ff7793387e31856643f3
parent8d07bb3c27bae405502efb88032942f1e72fa54f
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