hw/acpi: Provide stub version of acpi_ghes_record_errors()
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 3 Jun 2021 17:12:57 +0000 (18:12 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Jun 2021 15:49:37 +0000 (16:49 +0100)
commit82faef92fb149b6bad699c3275473fda6fd486b6
tree8e68943e124097eed22edef122401c378ced0dbe
parent53f306f316549d20c76886903181413d20842423
hw/acpi: Provide stub version of acpi_ghes_record_errors()

Generic code in target/arm wants to call acpi_ghes_record_errors();
provide a stub version so that we don't fail to link when
CONFIG_ACPI_APEI is not set. This requires us to add a new
ghes-stub.c file to contain it and the meson.build mechanics
to use it when appropriate.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Dongjiu Geng <gengdongjiu1@gmail.com>
Message-id: 20210603171259.27962-2-peter.maydell@linaro.org
hw/acpi/ghes-stub.c [new file with mode: 0644]
hw/acpi/meson.build