Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af29d9fa authored by Joerg Roedel's avatar Joerg Roedel
Browse files

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: default avatarJoerg Roedel <jroedel@suse.de>
parent a4d98fb3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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