summaryrefslogtreecommitdiff
path: root/include/acpi/apei.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/apei.h')
-rw-r--r--include/acpi/apei.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/acpi/apei.h b/include/acpi/apei.h
index e67b523a50e1..51a527d24a8a 100644
--- a/include/acpi/apei.h
+++ b/include/acpi/apei.h
@@ -18,6 +18,11 @@
extern int hest_disable;
extern int erst_disable;
+#ifdef CONFIG_ACPI_APEI_GHES
+extern int ghes_disable;
+#else
+#define ghes_disable 1
+#endif
#ifdef CONFIG_ACPI_APEI
void __init acpi_hest_init(void);