aboutsummaryrefslogtreecommitdiff
path: root/include/acpi/apei.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/apei.h')
-rw-r--r--include/acpi/apei.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/acpi/apei.h b/include/acpi/apei.h
index e67b523a50e..04f349d8da7 100644
--- a/include/acpi/apei.h
+++ b/include/acpi/apei.h
@@ -16,8 +16,13 @@
#ifdef __KERNEL__
-extern int hest_disable;
+extern bool hest_disable;
extern int erst_disable;
+#ifdef CONFIG_ACPI_APEI_GHES
+extern bool ghes_disable;
+#else
+#define ghes_disable 1
+#endif
#ifdef CONFIG_ACPI_APEI
void __init acpi_hest_init(void);