xen/pci: gate APEI support on ARM
authorRahul Singh <rahul.singh@arm.com>
Mon, 4 Oct 2021 11:51:56 +0000 (12:51 +0100)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Tue, 5 Oct 2021 00:39:59 +0000 (17:39 -0700)
commit4b88b4bf21afedb5408860430e1d943aa386e0fb
tree42967091ea4f93c85d9924b56934978aa27914a2
parentb6fe410936e30b2089cc8c6d54d786e535efafa3
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>
xen/drivers/passthrough/pci.c