diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2011-01-07 10:17:46 -0500 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2011-03-17 09:46:17 -0400 |
commit | bcd781f46a5f892ef2ae5843839849aa579fe096 (patch) | |
tree | 7498d7d5096a61042d9f72444001f8b31e765b25 /drivers/edac/mce_amd.c | |
parent | a97fa68ec403e2761a37b28651de8fd9da8c5e1f (diff) |
amd64_edac: Cleanup NBSH cruft
Remove reporting of errors with UC bit set - this is done by the MCE
decoding code anyway and this driver deals with DRAM ECC errors only. UC
(NB uncorrectable error) doesn't necessarily mean it is a DRAM error.
Remove unused macros while at it.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/mce_amd.c')
-rw-r--r-- | drivers/edac/mce_amd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c index f6cf73d93359..1afca60345d7 100644 --- a/drivers/edac/mce_amd.c +++ b/drivers/edac/mce_amd.c | |||
@@ -604,7 +604,7 @@ void amd_decode_nb_mce(int node_id, struct mce *m, u32 nbcfg) | |||
604 | /* F10h, revD can disable ErrCpu[3:0] through ErrCpuVal */ | 604 | /* F10h, revD can disable ErrCpu[3:0] through ErrCpuVal */ |
605 | if ((boot_cpu_data.x86 == 0x10) && | 605 | if ((boot_cpu_data.x86 == 0x10) && |
606 | (boot_cpu_data.x86_model > 7)) { | 606 | (boot_cpu_data.x86_model > 7)) { |
607 | if (nbsh & K8_NBSH_ERR_CPU_VAL) | 607 | if (nbsh & NBSH_ERR_CPU_VAL) |
608 | core = nbsh & nb_err_cpumask; | 608 | core = nbsh & nb_err_cpumask; |
609 | } else { | 609 | } else { |
610 | u8 assoc_cpus = nbsh & nb_err_cpumask; | 610 | u8 assoc_cpus = nbsh & nb_err_cpumask; |