]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/edac/i7core_edac.c
x86: Add x86_init platform override to fix up NUMA core numbering
[karo-tx-linux.git] / drivers / edac / i7core_edac.c
index 51d251c32901909d017776a6b6bf4e34570e5978..70ad8923f1d75d79a26c479e17e725499091a340 100644 (file)
@@ -746,6 +746,10 @@ static int get_dimm_config(const struct mem_ctl_info *mci)
 
                        csr->edac_mode = mode;
                        csr->mtype = mtype;
+                       snprintf(csr->channels[0].label,
+                                       sizeof(csr->channels[0].label),
+                                       "CPU#%uChannel#%u_DIMM#%u",
+                                       pvt->i7core_dev->socket, i, j);
 
                        csrow++;
                }