diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-31 13:46:11 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-21 14:16:03 -0300 |
commit | e7e248304c8ccf02b89e04c3b3b66006b993b5a7 (patch) | |
tree | 3c1e41ddd4f3f3c9a2dd9f686498a028cb816029 /drivers/edac/edac_core.h | |
parent | c7ef7645544131b0750478d1cf94cdfa945c809d (diff) | |
download | op-kernel-dev-e7e248304c8ccf02b89e04c3b3b66006b993b5a7.zip op-kernel-dev-e7e248304c8ccf02b89e04c3b3b66006b993b5a7.tar.gz |
edac: add support for raw error reports
That allows APEI GHES driver to report errors directly, using
the EDAC error report API.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/edac_core.h')
-rw-r--r-- | drivers/edac/edac_core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/edac/edac_core.h b/drivers/edac/edac_core.h index 23bb99f..3c2625e 100644 --- a/drivers/edac/edac_core.h +++ b/drivers/edac/edac_core.h @@ -453,6 +453,11 @@ extern struct mem_ctl_info *find_mci_by_dev(struct device *dev); extern struct mem_ctl_info *edac_mc_del_mc(struct device *dev); extern int edac_mc_find_csrow_by_page(struct mem_ctl_info *mci, unsigned long page); + +void edac_raw_mc_handle_error(const enum hw_event_mc_err_type type, + struct mem_ctl_info *mci, + struct edac_raw_error_desc *e); + void edac_mc_handle_error(const enum hw_event_mc_err_type type, struct mem_ctl_info *mci, const u16 error_count, |