Hi Jan,

On 24/05/18 08:59, Jan Beulich wrote:
On 24.05.18 at 02:46, <sameer.g...@linaro.org> wrote:
--- a/xen/drivers/passthrough/arm/Makefile
+++ b/xen/drivers/passthrough/arm/Makefile
@@ -1,3 +1,3 @@
  obj-y += iommu.o
-obj-y += smmu.o
+obj-$(CONFIG_ARM_SMMU) += smmu.o
  obj-$(CONFIG_ARM_SMMU_v3) += smmu-v3.o

Same question as to Stefano the other day: What use if iommu.o when both
config options are off?

The answer has not changed here. So I will just copy his answer:

"Things like iommu_domain_init are called unconditionally from ARM code
at the moment, it is not quite possible to skip compilation today. Also,
it is small, so it is not worth it I think."

Cheers,


Jan



--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to