hc
2024-05-10 ee930fffee469d076998274a2ca55e13dc1efb67
kernel/include/acpi/apei.h
....@@ -27,14 +27,16 @@
2727 extern int erst_disable;
2828 #ifdef CONFIG_ACPI_APEI_GHES
2929 extern bool ghes_disable;
30
+void __init ghes_init(void);
3031 #else
3132 #define ghes_disable 1
33
+static inline void ghes_init(void) { }
3234 #endif
3335
3436 #ifdef CONFIG_ACPI_APEI
3537 void __init acpi_hest_init(void);
3638 #else
37
-static inline void acpi_hest_init(void) { return; }
39
+static inline void acpi_hest_init(void) { }
3840 #endif
3941
4042 typedef int (*apei_hest_func_t)(struct acpi_hest_header *hest_hdr, void *data);