diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2012-09-11 18:57:43 +0200 |
---|---|---|
committer | Borislav Petkov <bp@alien8.de> | 2012-11-28 11:55:44 +0100 |
commit | f05c41a9c6057a0d5851ebc9589e3834fde1a4b6 (patch) | |
tree | f9e3627209b517b19b7110379c1c901d25098888 /drivers/edac/mce_amd.h | |
parent | db7312a295ec113fa7b3f7486c4b62b936a357d3 (diff) | |
download | op-kernel-dev-f05c41a9c6057a0d5851ebc9589e3834fde1a4b6.zip op-kernel-dev-f05c41a9c6057a0d5851ebc9589e3834fde1a4b6.tar.gz |
MCE, AMD: Remove functional unit references
Having the functional unit names in each bank decode is only misleading
as this code supports multiple families and there's no guarantee the
mapping between FUs and MCE banks will stay the same.
And also, knowing the functional unit name doesn't help much since you
end up looking at the respective BKDG anyway.
So drop all FU references and use the MC bank numbers instead.
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 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/edac/mce_amd.h b/drivers/edac/mce_amd.h index 8c87a5e..942f382 100644 --- a/drivers/edac/mce_amd.h +++ b/drivers/edac/mce_amd.h @@ -78,14 +78,13 @@ extern const char * const ii_msgs[]; * per-family decoder ops */ struct amd_decoder_ops { - bool (*dc_mce)(u16, u8); - bool (*ic_mce)(u16, u8); + bool (*mc0_mce)(u16, u8); + bool (*mc1_mce)(u16, u8); }; void amd_report_gart_errors(bool); void amd_register_ecc_decoder(void (*f)(int, struct mce *)); void amd_unregister_ecc_decoder(void (*f)(int, struct mce *)); -void amd_decode_nb_mce(struct mce *); int amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data); #endif /* _EDAC_MCE_AMD_H */ |