]> git.baikalelectronics.ru Git - kernel.git/commit
ghes: add the needed hooks for EDAC error report
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 15 Feb 2013 09:10:39 +0000 (06:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Feb 2013 22:41:51 +0000 (19:41 -0300)
commitd550ca3de814a90e5c44bf0904c84ea03ba933b6
tree1ea79a66c55128e36cfc4334bd6f00db3593e9fc
parent2e32bd2244b7e7da9deeb9b1d51e51dd6d030de8
ghes: add the needed hooks for EDAC error report

In order to allow reporting errors via EDAC, add hooks for:

1) register an EDAC driver;
2) unregister an EDAC driver;
3) report errors via EDAC.

As the EDAC driver will need to access the ghes structure, adds it
as one of the parameters for ghes_do_proc.

Acked-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/acpi/apei/ghes.c
include/acpi/ghes.h