powerpc/dma: dma_set_coherent_mask() should not be GPL only
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 27 Oct 2015 08:20:05 +0000 (17:20 +0900)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Oct 2015 05:20:50 +0000 (14:20 +0900)
commit977bf062bba3eb8d03f66d5b4e227e5d7ebc1e08
tree7d1132cffe0beb11d8071992b288d814dba073ea
parent8832317f662c06f5c06e638f57bfe89a71c9b266
powerpc/dma: dma_set_coherent_mask() should not be GPL only

When turning this from inline to an exported function I was a bit
over-eager and made it GPL only. This prevents the use of pretty much
all non-GPL PCI driver which is a bit over the top. Let's bring it
back in line with other architecture.

Fixes: 817820b0226a ("powerpc/iommu: Support "hybrid" iommu/direct DMA ops for coherent_mask < dma_mask")
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/dma.c