aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/mce_amd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/mce_amd.c')
-rw-r--r--drivers/edac/mce_amd.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c
index 75441d357d16..f3f0c930d550 100644
--- a/drivers/edac/mce_amd.c
+++ b/drivers/edac/mce_amd.c
@@ -39,33 +39,28 @@ EXPORT_SYMBOL_GPL(amd_unregister_ecc_decoder);
39 */ 39 */
40 40
41/* transaction type */ 41/* transaction type */
42const char * const tt_msgs[] = { "INSN", "DATA", "GEN", "RESV" }; 42static const char * const tt_msgs[] = { "INSN", "DATA", "GEN", "RESV" };
43EXPORT_SYMBOL_GPL(tt_msgs);
44 43
45/* cache level */ 44/* cache level */
46const char * const ll_msgs[] = { "RESV", "L1", "L2", "L3/GEN" }; 45static const char * const ll_msgs[] = { "RESV", "L1", "L2", "L3/GEN" };
47EXPORT_SYMBOL_GPL(ll_msgs);
48 46
49/* memory transaction type */ 47/* memory transaction type */
50const char * const rrrr_msgs[] = { 48static const char * const rrrr_msgs[] = {
51 "GEN", "RD", "WR", "DRD", "DWR", "IRD", "PRF", "EV", "SNP" 49 "GEN", "RD", "WR", "DRD", "DWR", "IRD", "PRF", "EV", "SNP"
52}; 50};
53EXPORT_SYMBOL_GPL(rrrr_msgs);
54 51
55/* participating processor */ 52/* participating processor */
56const char * const pp_msgs[] = { "SRC", "RES", "OBS", "GEN" }; 53const char * const pp_msgs[] = { "SRC", "RES", "OBS", "GEN" };
57EXPORT_SYMBOL_GPL(pp_msgs); 54EXPORT_SYMBOL_GPL(pp_msgs);
58 55
59/* request timeout */ 56/* request timeout */
60const char * const to_msgs[] = { "no timeout", "timed out" }; 57static const char * const to_msgs[] = { "no timeout", "timed out" };
61EXPORT_SYMBOL_GPL(to_msgs);
62 58
63/* memory or i/o */ 59/* memory or i/o */
64const char * const ii_msgs[] = { "MEM", "RESV", "IO", "GEN" }; 60static const char * const ii_msgs[] = { "MEM", "RESV", "IO", "GEN" };
65EXPORT_SYMBOL_GPL(ii_msgs);
66 61
67/* internal error type */ 62/* internal error type */
68const char * const uu_msgs[] = { "RESV", "RESV", "HWA", "RESV" }; 63static const char * const uu_msgs[] = { "RESV", "RESV", "HWA", "RESV" };
69 64
70static const char * const f15h_mc1_mce_desc[] = { 65static const char * const f15h_mc1_mce_desc[] = {
71 "UC during a demand linefill from L2", 66 "UC during a demand linefill from L2",