aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/mce_amd.h
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2011-01-10 08:24:32 -0500
committerBorislav Petkov <borislav.petkov@amd.com>2011-03-17 09:46:19 -0400
commitf192c7b16c98839c1945733f1013f75daec5f380 (patch)
tree5b1559606678b417dc4331c00f94aa1b3e6f16be /drivers/edac/mce_amd.h
parent7d20d14da1bf24199add02cf4293871c277a4bda (diff)
amd64_edac: Simplify decoding path
Use the struct mce directly instead of copying from it into a custom struct err_regs. No functionality change. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/mce_amd.h')
-rw-r--r--drivers/edac/mce_amd.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/edac/mce_amd.h b/drivers/edac/mce_amd.h
index 70a0bb2c13c5..795a3206acf5 100644
--- a/drivers/edac/mce_amd.h
+++ b/drivers/edac/mce_amd.h
@@ -34,7 +34,6 @@
34/* 34/*
35 * F3x4C bits (MCi_STATUS' high half) 35 * F3x4C bits (MCi_STATUS' high half)
36 */ 36 */
37#define NBSH_VALID_ERROR_ADDR BIT(26)
38#define NBSH_ERR_CPU_VAL BIT(24) 37#define NBSH_ERR_CPU_VAL BIT(24)
39 38
40enum tt_ids { 39enum tt_ids {
@@ -78,17 +77,6 @@ extern const char *to_msgs[];
78extern const char *ii_msgs[]; 77extern const char *ii_msgs[];
79 78
80/* 79/*
81 * relevant NB regs
82 */
83struct err_regs {
84 u32 nbcfg;
85 u32 nbsh;
86 u32 nbsl;
87 u32 nbeah;
88 u32 nbeal;
89};
90
91/*
92 * per-family decoder ops 80 * per-family decoder ops
93 */ 81 */
94struct amd_decoder_ops { 82struct amd_decoder_ops {