aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-02-15 05:21:08 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-21 09:06:37 -0500
commitc66b5a79a9348ccd6d1cd81416027d0e12da965d (patch)
treec6a25cbd329ebb6cd7edadb9bcd5f94796d94e97 /drivers/edac
parent4ab19b06acffd2278cd37995927c85a9acfd00db (diff)
edac: add a new memory layer type
There are some cases where the memory controller layout is completely hidden. This is the case of firmware-driven error code, like the one provided by GHES. Add a new layer to be used on such memory error report mechanisms. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/edac_mc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
index fb219bc5cb2c..78d8c7d6e76a 100644
--- a/drivers/edac/edac_mc.c
+++ b/drivers/edac/edac_mc.c
@@ -900,6 +900,7 @@ const char *edac_layer_name[] = {
900 [EDAC_MC_LAYER_CHANNEL] = "channel", 900 [EDAC_MC_LAYER_CHANNEL] = "channel",
901 [EDAC_MC_LAYER_SLOT] = "slot", 901 [EDAC_MC_LAYER_SLOT] = "slot",
902 [EDAC_MC_LAYER_CHIP_SELECT] = "csrow", 902 [EDAC_MC_LAYER_CHIP_SELECT] = "csrow",
903 [EDAC_MC_LAYER_ALL_MEM] = "memory",
903}; 904};
904EXPORT_SYMBOL_GPL(edac_layer_name); 905EXPORT_SYMBOL_GPL(edac_layer_name);
905 906