mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/pci: gate APEI support on ARM
APEI not supported on ARM yet move the code under CONFIG_X86 flag to gate the code for ARM. This patch is the preparatory work to enable HAS_PCI on ARM to avoid compilation error on ARM. prelink.o: In function `pcie_aer_get_firmware_first’: drivers/passthrough/pci.c:1251: undefined reference to `apei_hest_parse' Signed-off-by: Rahul Singh <rahul.singh@arm.com> Acked-by: Stefano Stabellini <sstabellini@kernel.org> Acked-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
This commit is contained in:
1 parent
b6fe410936
commit
4b88b4bf21
1 file changed
+2
-1
@@ -1149,7 +1149,8 @@ void __hwdom_init setup_hwdom_pci_devices(
|
||||
pcidevs_unlock();
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ACPI
|
||||
/* APEI not supported on ARM yet. */
|
||||
#if defined(CONFIG_ACPI) && defined(CONFIG_X86)
|
||||
#include <acpi/acpi.h>
|
||||
#include <acpi/apei.h>
|
||||
|
||||
|
||||