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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/acpi/apei.h b/include/acpi/apei.h
index d40bc5521fcb..51a527d24a8a 100644
--- a/include/acpi/apei.h
+++ b/include/acpi/apei.h
@@ -18,7 +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);