Re: [Xen-devel] [PATCH] xen/pci: Don't build Xen pci code for ARM and ARM64

From: David Vrabel
Date: Mon Sep 28 2015 - 09:52:52 EST


On 28/09/15 14:30, Julien Grall wrote:
> The PCI support for Xen doesn't compile on ARM/ARM64 when
> CONFIG_PCI_MMCONFIG=y:
>
> drivers/xen/pci.c:31:25: fatal error: asm/pci_x86.h: No such file or
> directory
> #include <asm/pci_x86.h>
>
> Although, Xen is not currently involved in PCI management for ARM/ARM64.
> There is plan to support it, but it would require some changes in Linux
> side.
>
> For now, introduce a new config options XEN_PCI which will be turned off
> for ARM platform.

Since PCI_MMCONFIG isn't x86 specific and its use in drivers/xen/pci.c
is, can you fix this by changing to #ifdef CONFIG_X86?

David

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/