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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/acpi/apei.h b/include/acpi/apei.h
index b3365025ff8..c4dbb132d90 100644
--- a/include/acpi/apei.h
+++ b/include/acpi/apei.h
@@ -19,6 +19,12 @@
extern int hest_disable;
extern int erst_disable;
+#ifdef CONFIG_ACPI_APEI
+void __init acpi_hest_init(void);
+#else
+static inline void acpi_hest_init(void) { return; }
+#endif
+
typedef int (*apei_hest_func_t)(struct acpi_hest_header *hest_hdr, void *data);
int apei_hest_parse(apei_hest_func_t func, void *data);