diff options
author | Joerg Roedel | 2017-08-09 15:04:47 +0200 |
---|---|---|
committer | Joerg Roedel | 2017-08-15 13:59:34 +0200 |
commit | af29d9fa41b4b427830aea3911224aef6d61ee50 (patch) | |
tree | e2a60a14323d23f92d4073daf30709a511008771 /drivers/iommu | |
parent | a4d98fb3069090a856933a1416f449caf18ef334 (diff) |
iommu/pamu: Make driver depend on CONFIG_PHYS_64BIT
Certain address calculations in the driver make the
assumption that phys_addr_t and dma_addr_t are 64 bit wide.
Force this by depending on CONFIG_PHYS_64BIT to be set.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index e73b7c50a130..e163b0223dec 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -77,6 +77,7 @@ config IOMMU_DMA config FSL_PAMU bool "Freescale IOMMU support" depends on PCI + depends on PHYS_64BIT depends on PPC_E500MC || (COMPILE_TEST && PPC) select IOMMU_API select GENERIC_ALLOCATOR |