diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2011-01-10 08:24:32 -0500 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2011-03-17 09:46:19 -0400 |
commit | f192c7b16c98839c1945733f1013f75daec5f380 (patch) | |
tree | 5b1559606678b417dc4331c00f94aa1b3e6f16be /drivers/edac/mce_amd.h | |
parent | 7d20d14da1bf24199add02cf4293871c277a4bda (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.h | 12 |
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 | ||
40 | enum tt_ids { | 39 | enum tt_ids { |
@@ -78,17 +77,6 @@ extern const char *to_msgs[]; | |||
78 | extern const char *ii_msgs[]; | 77 | extern const char *ii_msgs[]; |
79 | 78 | ||
80 | /* | 79 | /* |
81 | * relevant NB regs | ||
82 | */ | ||
83 | struct 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 | */ |
94 | struct amd_decoder_ops { | 82 | struct amd_decoder_ops { |