aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/edac/edac_mc.c1
-rw-r--r--include/linux/edac.h4
2 files changed, 5 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
diff --git a/include/linux/edac.h b/include/linux/edac.h
index 4784213c819d..1b7744c219b8 100644
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -375,6 +375,9 @@ enum scrub_type {
375 * @EDAC_MC_LAYER_CHANNEL: memory layer is named "channel" 375 * @EDAC_MC_LAYER_CHANNEL: memory layer is named "channel"
376 * @EDAC_MC_LAYER_SLOT: memory layer is named "slot" 376 * @EDAC_MC_LAYER_SLOT: memory layer is named "slot"
377 * @EDAC_MC_LAYER_CHIP_SELECT: memory layer is named "chip select" 377 * @EDAC_MC_LAYER_CHIP_SELECT: memory layer is named "chip select"
378 * @EDAC_MC_LAYER_ALL_MEM: memory layout is unknown. All memory is mapped
379 * as a single memory area. This is used when
380 * retrieving errors from a firmware driven driver.
378 * 381 *
379 * This enum is used by the drivers to tell edac_mc_sysfs what name should 382 * This enum is used by the drivers to tell edac_mc_sysfs what name should
380 * be used when describing a memory stick location. 383 * be used when describing a memory stick location.
@@ -384,6 +387,7 @@ enum edac_mc_layer_type {
384 EDAC_MC_LAYER_CHANNEL, 387 EDAC_MC_LAYER_CHANNEL,
385 EDAC_MC_LAYER_SLOT, 388 EDAC_MC_LAYER_SLOT,
386 EDAC_MC_LAYER_CHIP_SELECT, 389 EDAC_MC_LAYER_CHIP_SELECT,
390 EDAC_MC_LAYER_ALL_MEM,
387}; 391};
388 392
389/** 393/**