diff options
author | Jacob Shin | 2012-12-18 15:06:10 -0600 |
---|---|---|
committer | Borislav Petkov | 2013-01-22 22:39:54 +0100 |
commit | 4a73d3de63d4c4498e3dbf8614604c6b1dcc1fc2 (patch) | |
tree | c51ec0b6932c30564d45f6fb29b09da0a40d2a32 /drivers/edac/mce_amd.h | |
parent | acc7fcb40067b702d6c80bf8c6f6749a5a06bc91 (diff) |
EDAC, MCE, AMD: Make MC2 decoding per-family
Currently only AMD Family 15h processors have special handling for MC2
errors. Since upcoming Family 16h will also need unique handling, let's
make MC2 handling part of amd_decoder_ops.
Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Signed-off-by: Borislav Petkov <bp@alien8.de>
Diffstat (limited to 'drivers/edac/mce_amd.h')
-rw-r--r-- | drivers/edac/mce_amd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/mce_amd.h b/drivers/edac/mce_amd.h index 679679951e23..000f6e2c4cbe 100644 --- a/drivers/edac/mce_amd.h +++ b/drivers/edac/mce_amd.h @@ -78,6 +78,7 @@ extern const char * const ii_msgs[]; struct amd_decoder_ops { bool (*mc0_mce)(u16, u8); bool (*mc1_mce)(u16, u8); + bool (*mc2_mce)(u16, u8); }; void amd_report_gart_errors(bool); |