From: Borislav Petkov Date: Thu, 13 Sep 2012 15:19:40 +0000 (+0200) Subject: EDAC: Add memory controller flags X-Git-Tag: next-20121205~48^2~11 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=11652769179296062c74233e168399a87a3f6e8a;p=karo-tx-linux.git EDAC: Add memory controller flags The first flag is ->csbased and will be used in common EDAC code later. Signed-off-by: Borislav Petkov --- diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index cb64bec374d9..307ff66266a0 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@ -2518,6 +2518,7 @@ static int amd64_init_one_instance(struct pci_dev *F2) mci->pvt_info = pvt; mci->pdev = &pvt->F2->dev; + mci->csbased = 1; setup_mci_misc_attrs(mci, fam_type); diff --git a/include/linux/edac.h b/include/linux/edac.h index bab9f8473dc1..07bda01bf20a 100644 --- a/include/linux/edac.h +++ b/include/linux/edac.h @@ -667,6 +667,8 @@ struct mem_ctl_info { u32 fake_inject_ue; u16 fake_inject_count; #endif + __u8 csbased : 1, /* csrow-based memory controller */ + __resv : 7; }; #endif