arm64: device: add iommu pointer to device archdata
authorWill Deacon <will.deacon@arm.com>
Mon, 10 Jun 2013 18:34:42 +0000 (19:34 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 11 Jun 2013 17:15:55 +0000 (18:15 +0100)
When using an IOMMU for device mappings, it is necessary to keep a
pointer between the device and the IOMMU to which it is attached in
order to obtain the correct IOMMU when attaching the device to a domain.

This patch adds an iommu pointer to the dev_archdata structure, in a
similar manner to other architectures (ARM, PowerPC, x86, ...).

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>

No differences found