diff options
author | Huang Ying <ying.huang@intel.com> | 2011-07-13 07:14:21 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-07-14 05:38:49 +0200 |
commit | 9fb0bfe1408d5506b7b83d13d1eed573fd71d67d (patch) | |
tree | 51700355f453ab47de4bd799a4468c030db6e088 /drivers/acpi/apei/apei-internal.h | |
parent | ACPI, APEI, Add APEI bit support in generic _OSC call (diff) | |
download | linux-9fb0bfe1408d5506b7b83d13d1eed573fd71d67d.tar.xz linux-9fb0bfe1408d5506b7b83d13d1eed573fd71d67d.zip |
ACPI, APEI, Add WHEA _OSC support
APEI firmware first mode must be turned on explicitly on some
machines, otherwise there may be no GHES hardware error record for
hardware error notification. APEI bit in generic _OSC call can be
used to do that, but on some machine, a special WHEA _OSC call must be
used. This patch adds the support to that WHEA _OSC call.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Reviewed-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/apei/apei-internal.h')
-rw-r--r-- | drivers/acpi/apei/apei-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/apei/apei-internal.h b/drivers/acpi/apei/apei-internal.h index f286cf753f32..f57050e7a5e7 100644 --- a/drivers/acpi/apei/apei-internal.h +++ b/drivers/acpi/apei/apei-internal.h @@ -124,4 +124,6 @@ void apei_estatus_print(const char *pfx, const struct acpi_hest_generic_status *estatus); int apei_estatus_check_header(const struct acpi_hest_generic_status *estatus); int apei_estatus_check(const struct acpi_hest_generic_status *estatus); + +int apei_osc_setup(void); #endif |