summaryrefslogtreecommitdiffstats
path: root/drivers/edac/mce_amd.h
diff options
context:
space:
mode:
authorJacob Shin <jacob.shin@amd.com>2012-12-18 22:06:10 +0100
committerBorislav Petkov <bp@suse.de>2013-01-22 22:39:54 +0100
commit4a73d3de63d4c4498e3dbf8614604c6b1dcc1fc2 (patch)
treec51ec0b6932c30564d45f6fb29b09da0a40d2a32 /drivers/edac/mce_amd.h
parentamd64_edac: Remove dead code (diff)
downloadlinux-4a73d3de63d4c4498e3dbf8614604c6b1dcc1fc2.tar.xz
linux-4a73d3de63d4c4498e3dbf8614604c6b1dcc1fc2.zip
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.h1
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);