--- zzzz-none-000/linux-3.10.107/drivers/acpi/apei/apei-internal.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/acpi/apei/apei-internal.h 2021-02-04 17:41:59.000000000 +0000 @@ -8,7 +8,6 @@ #include #include -#include struct apei_exec_context; @@ -126,7 +125,7 @@ (void *)section - (void *)estatus < estatus->data_length; \ section = (void *)(section+1) + section->error_data_length) -static inline u32 apei_estatus_len(struct acpi_hest_generic_status *estatus) +static inline u32 cper_estatus_len(struct acpi_hest_generic_status *estatus) { if (estatus->raw_data_length) return estatus->raw_data_offset + \ @@ -135,10 +134,10 @@ return sizeof(*estatus) + estatus->data_length; } -void apei_estatus_print(const char *pfx, +void cper_estatus_print(const char *pfx, const struct acpi_hest_generic_status *estatus); -int apei_estatus_check_header(const struct acpi_hest_generic_status *estatus); -int apei_estatus_check(const struct acpi_hest_generic_status *estatus); +int cper_estatus_check_header(const struct acpi_hest_generic_status *estatus); +int cper_estatus_check(const struct acpi_hest_generic_status *estatus); int apei_osc_setup(void); #endif