It makes no sense for io.c to be on the top level passthrough directory, since it's x86 specific.
No functional change. Signed-off-by: Roger Pau Monné <roger....@citrix.com> --- Cc: Jan Beulich <jbeul...@suse.com> --- xen/drivers/passthrough/Makefile | 3 --- xen/drivers/passthrough/x86/Makefile | 1 + xen/drivers/passthrough/{ => x86}/io.c | 0 3 files changed, 1 insertion(+), 3 deletions(-) rename xen/drivers/passthrough/{ => x86}/io.c (100%) diff --git a/xen/drivers/passthrough/Makefile b/xen/drivers/passthrough/Makefile index d50ab188c8..bcfea66d05 100644 --- a/xen/drivers/passthrough/Makefile +++ b/xen/drivers/passthrough/Makefile @@ -6,6 +6,3 @@ subdir-$(CONFIG_ARM) += arm obj-y += iommu.o obj-$(CONFIG_HAS_PCI) += pci.o obj-$(CONFIG_HAS_DEVICE_TREE) += device_tree.o - -x86-$(CONFIG_HVM) := io.o -obj-$(CONFIG_X86) += $(x86-y) diff --git a/xen/drivers/passthrough/x86/Makefile b/xen/drivers/passthrough/x86/Makefile index a70cf9460d..0715ffbc00 100644 --- a/xen/drivers/passthrough/x86/Makefile +++ b/xen/drivers/passthrough/x86/Makefile @@ -1,2 +1,3 @@ obj-y += ats.o obj-y += iommu.o +obj-$(CONFIG_HVM) += io.o diff --git a/xen/drivers/passthrough/io.c b/xen/drivers/passthrough/x86/io.c similarity index 100% rename from xen/drivers/passthrough/io.c rename to xen/drivers/passthrough/x86/io.c -- 2.17.2 (Apple Git-113) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel