aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/mce_amd.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/mce_amd.h')
-rw-r--r--drivers/edac/mce_amd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/edac/mce_amd.h b/drivers/edac/mce_amd.h
index dc81dba9364b..0d0637debbad 100644
--- a/drivers/edac/mce_amd.h
+++ b/drivers/edac/mce_amd.h
@@ -7,7 +7,6 @@
7 7
8#define ERROR_CODE(x) ((x) & 0xffff) 8#define ERROR_CODE(x) ((x) & 0xffff)
9#define EXT_ERROR_CODE(x) (((x) >> 16) & 0x1f) 9#define EXT_ERROR_CODE(x) (((x) >> 16) & 0x1f)
10#define EXT_ERR_MSG(x) ext_msgs[EXT_ERROR_CODE(x)]
11 10
12#define LOW_SYNDROME(x) (((x) >> 15) & 0xff) 11#define LOW_SYNDROME(x) (((x) >> 15) & 0xff)
13#define HIGH_SYNDROME(x) (((x) >> 24) & 0xff) 12#define HIGH_SYNDROME(x) (((x) >> 24) & 0xff)
@@ -83,7 +82,6 @@ extern const char *rrrr_msgs[];
83extern const char *pp_msgs[]; 82extern const char *pp_msgs[];
84extern const char *to_msgs[]; 83extern const char *to_msgs[];
85extern const char *ii_msgs[]; 84extern const char *ii_msgs[];
86extern const char *ext_msgs[];
87 85
88/* 86/*
89 * relevant NB regs 87 * relevant NB regs
@@ -102,6 +100,7 @@ struct err_regs {
102struct amd_decoder_ops { 100struct amd_decoder_ops {
103 bool (*dc_mce)(u16); 101 bool (*dc_mce)(u16);
104 bool (*ic_mce)(u16); 102 bool (*ic_mce)(u16);
103 bool (*nb_mce)(u16, u8);
105}; 104};
106 105
107void amd_report_gart_errors(bool); 106void amd_report_gart_errors(bool);