From: Andy Fleming Date: Thu, 17 Mar 2016 04:15:44 +0000 (-0500) Subject: powerpc: Fix incorrect PPC32 PAMU dependency X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a0d284d2b1d9f7453ff1c5cc7854219daf4f7590;p=deliverable%2Flinux.git powerpc: Fix incorrect PPC32 PAMU dependency The Freescale PAMU can be enabled on both 32 and 64-bit Power chips. Commit 477ab7a19ce restricted PAMU to PPC32. PPC covers both. Signed-off-by: Andy Fleming Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index dd1dc39f84ff..e0dfb8676d61 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -76,8 +76,7 @@ config IOMMU_DMA config FSL_PAMU bool "Freescale IOMMU support" - depends on PPC32 - depends on PPC_E500MC || COMPILE_TEST + depends on PPC_E500MC || (COMPILE_TEST && PPC) select IOMMU_API select GENERIC_ALLOCATOR help