iommu/arm-smmu: Ensure 64-bit I/O accessors are available on 32-bit CPU
authorRobin Murphy <robin.murphy@arm.com>
Tue, 20 Aug 2019 11:38:49 +0000 (12:38 +0100)
committerWill Deacon <will@kernel.org>
Tue, 20 Aug 2019 11:48:37 +0000 (12:48 +0100)
commitd720e64150c79d14f4faf931604faa1f0755134d
treeea2a00747caf00cb9e517f30529c22d6a16d5f56
parent4b67f1ddcf23d6dc4b5a3a486b758cb91f725e72
iommu/arm-smmu: Ensure 64-bit I/O accessors are available on 32-bit CPU

As part of the grand SMMU driver refactoring effort, the I/O register
accessors were moved into 'arm-smmu.h' in commit 6d7dff62afb0
("iommu/arm-smmu: Move Secure access quirk to implementation").

On 32-bit architectures (such as ARM), the 64-bit accessors are defined
in 'linux/io-64-nonatomic-hi-lo.h', so include this header to fix the
build.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu.c
drivers/iommu/arm-smmu.h