EDAC: Merge mci.mem_is_per_rank with mci.csbased
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 11 Mar 2013 12:28:48 +0000 (09:28 -0300)
committerBorislav Petkov <bp@suse.de>
Sat, 16 Mar 2013 05:32:30 +0000 (06:32 +0100)
commit9713faecff3d071de1208b081d4943b002e9cb1c
treeb6ab68f15527eae952a407aa604607aca719a5ba
parent1eef1282549d7accdd33ee36d409b039b1f911fb
EDAC: Merge mci.mem_is_per_rank with mci.csbased

Both mci.mem_is_per_rank and mci.csbased denote the same thing: the
memory controller is csrows based. Merge both fields into one.

There's no need for the driver to actually fill it, as the core detects
it by checking if one of the layers has the csrows type as part of the
memory hierarchy:

if (layers[i].type == EDAC_MC_LAYER_CHIP_SELECT)
per_rank = true;

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/amd64_edac.c
drivers/edac/edac_mc.c
drivers/edac/edac_mc_sysfs.c
include/linux/edac.h