projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c851a9
)
xen/pt: io.c contains HVM only code
author
Wei Liu
<wei.liu2@citrix.com>
Sun, 26 Aug 2018 12:19:41 +0000
(13:19 +0100)
committer
Wei Liu
<wei.liu2@citrix.com>
Tue, 28 Aug 2018 09:49:27 +0000
(10:49 +0100)
We also need to make it x86 only because ARM will define CONFIG_HVM at
some point.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/passthrough/Makefile
patch
|
blob
|
history
diff --git
a/xen/drivers/passthrough/Makefile
b/xen/drivers/passthrough/Makefile
index 6087333a34bbf0aaad94ae66bc070f9a7d23bcd6..d50ab188c83cc3e7e646752fe4570ded30779e8e 100644
(file)
--- 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)