xen/pci: Fix build on non-x86
commitb7ef4a6dd35d1b47db72fbd1a31c8fd0da7a74f3
authorBen Hutchings <ben@decadent.org.uk>
Tue, 31 Dec 2013 19:46:27 +0000 (31 20:46 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 6 Jan 2014 15:07:30 +0000 (6 10:07 -0500)
tree1d35535328c215669e08b0e8fc6bfb2f4f47466e
parent9346c2a8defab777d1fba6bcc284f6ada181fe96
xen/pci: Fix build on non-x86

We can't include <asm/pci_x86.h> if this isn't x86, and we only need
it if CONFIG_PCI_MMCONFIG is enabled.

Fixes: 8deb3eb1461e ('xen/mcfg: Call PHYSDEVOP_pci_mmcfg_reserved for MCFG areas.')
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
drivers/xen/pci.c