diff options
Diffstat (limited to 'drivers/edac/edac_mce_amd.h')
-rw-r--r-- | drivers/edac/edac_mce_amd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/edac/edac_mce_amd.h b/drivers/edac/edac_mce_amd.h index 81f9dcf9990a..39971cdabb51 100644 --- a/drivers/edac/edac_mce_amd.h +++ b/drivers/edac/edac_mce_amd.h | |||
@@ -1,5 +1,7 @@ | |||
1 | #define ERROR_CODE(x) ((x) & 0xffff) | 1 | #define ERROR_CODE(x) ((x) & 0xffff) |
2 | #define EXT_ERROR_CODE(x) (((x) >> 16) & 0x1f) | 2 | #define EXT_ERROR_CODE(x) (((x) >> 16) & 0x1f) |
3 | #define EXT_ERR_MSG(x) ext_msgs[EXT_ERROR_CODE(x)] | ||
4 | |||
3 | #define LOW_SYNDROME(x) (((x) >> 15) & 0xff) | 5 | #define LOW_SYNDROME(x) (((x) >> 15) & 0xff) |
4 | #define HIGH_SYNDROME(x) (((x) >> 24) & 0xff) | 6 | #define HIGH_SYNDROME(x) (((x) >> 24) & 0xff) |
5 | 7 | ||