IOMMU: move inclusion point of asm/iommu.h
authorJan Beulich <jbeulich@suse.com>
Thu, 15 Nov 2018 12:32:47 +0000 (13:32 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 15 Nov 2018 12:32:47 +0000 (13:32 +0100)
commitcb8252bf4743ad08bb40d69ff25810defa84fd0f
tree6ebaff38d524508740c40fdebbca2fd166008932
parent2a8922cff38403a9be7b0e38e09668dae0c6d9f6
IOMMU: move inclusion point of asm/iommu.h

In preparation of allowing inline functions in asm/iommu.h to
de-reference struct struct iommu_ops, move the inclusion downwards past
the declaration of that structure. This in turn requires moving the
struct domain_iommu declaration, as it requires struct arch_iommu to be
fully declared beforehand.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/include/xen/iommu.h