From: Wei Liu Date: Sun, 26 Aug 2018 12:19:41 +0000 (+0100) Subject: xen/pt: io.c contains HVM only code X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~3390 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6ffa33b370f58ed937806105921f66c83aed45e0;p=xen.git xen/pt: io.c contains HVM only code We also need to make it x86 only because ARM will define CONFIG_HVM at some point. Signed-off-by: Wei Liu Acked-by: Jan Beulich --- diff --git a/xen/drivers/passthrough/Makefile b/xen/drivers/passthrough/Makefile index 6087333a34..d50ab188c8 100644 --- a/xen/drivers/passthrough/Makefile +++ b/xen/drivers/passthrough/Makefile @@ -4,6 +4,8 @@ subdir-$(CONFIG_X86) += x86 subdir-$(CONFIG_ARM) += arm obj-y += iommu.o -obj-$(CONFIG_X86) += io.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)