aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_mce_amd.h
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2009-07-27 10:21:14 -0400
committerBorislav Petkov <borislav.petkov@amd.com>2009-09-14 13:01:07 -0400
commitb69b29de65fe4078b125acc9dea34be82f7c362c (patch)
tree89c4369f9b04e2200e1ef83ed6497fcf150d2d8b /drivers/edac/edac_mce_amd.h
parent549d042df240dfb4203bab40ad44f9336751b7d6 (diff)
EDAC, AMD: carve out MCi_STATUS decoding
The MCi_STATUS registers have most field definitions in common so decode them in the general path. Do not pass ecc_type along and compute it in __amd64_decode_bus_error instead. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/edac_mce_amd.h b/drivers/edac/edac_mce_amd.h
index 9114dc62782b..df23ee065f79 100644
--- a/drivers/edac/edac_mce_amd.h
+++ b/drivers/edac/edac_mce_amd.h
@@ -62,8 +62,8 @@ struct err_regs {
62 62
63 63
64void amd_report_gart_errors(bool); 64void amd_report_gart_errors(bool);
65void amd_register_ecc_decoder(void (*f)(int, struct err_regs *, int)); 65void amd_register_ecc_decoder(void (*f)(int, struct err_regs *));
66void amd_unregister_ecc_decoder(void (*f)(int, struct err_regs *, int)); 66void amd_unregister_ecc_decoder(void (*f)(int, struct err_regs *));
67void amd_decode_nb_mce(int, struct err_regs *, int); 67void amd_decode_nb_mce(int, struct err_regs *, int);
68 68
69#endif /* _EDAC_MCE_AMD_H */ 69#endif /* _EDAC_MCE_AMD_H */