aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_mce_amd.h
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2009-06-25 13:51:04 -0400
committerBorislav Petkov <borislav.petkov@amd.com>2009-09-14 12:58:25 -0400
commit5110dbdeab546268dda2e4c6a83448639b2fc5ae (patch)
treed504eb80a6b77a7511cd8259943d0d746758834d /drivers/edac/edac_mce_amd.h
parentef44cc4c2245d3c43f3c11c7bff6239852eef498 (diff)
amd64_edac: cleanup/complete NB MCE decoding
* don't dump info which mcheck already does * update to newest BKDG * mv amd64_process_error_info -> amd64_decode_nb_mce * shorten error struct names * remove redundant info ptr in amd64_process_error_info * remove unused ErrorCodeExt[19:16] (MCx_STATUS) defines Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/edac_mce_amd.h')
-rw-r--r--drivers/edac/edac_mce_amd.h2
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