common: guard iommu symbols with CONFIG_HAS_PASSTHROUGH
The variables iommu_enabled and iommu_dont_flush_iotlb are defined in drivers/passthrough/iommu.c and are referenced in common code, which causes the link to fail when !CONFIG_HAS_PASSTHROUGH. Guard references to these variables in common code so that xen builds when !CONFIG_HAS_PASSTHROUGH. Signed-off-by:Connor Davis <connojdavis@gmail.com> [jb: further massage xen/iommu.h adjustment] Acked-by:
Jan Beulich <jbeulich@suse.com>
Showing
Please register or sign in to comment