* [PATCH] powerpc/dma: dma_set_coherent_mask() should not be GPL only
@ 2015-10-27 6:02 Benjamin Herrenschmidt
2015-10-28 8:34 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2015-10-27 6:02 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Michael Ellerman
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.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
diff --git a/arch/powerpc/kernel/dma.c b/arch/powerpc/kernel/dma.c
index 59503ed..18ea012 100644
--- a/arch/powerpc/kernel/dma.c
+++ b/arch/powerpc/kernel/dma.c
@@ -303,7 +303,7 @@ int dma_set_coherent_mask(struct device *dev, u64
mask)
dev->coherent_dma_mask = mask;
return 0;
}
-EXPORT_SYMBOL_GPL(dma_set_coherent_mask);
+EXPORT_SYMBOL(dma_set_coherent_mask);
#define PREALLOC_DMA_DEBUG_ENTRIES (1 << 16)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: powerpc/dma: dma_set_coherent_mask() should not be GPL only
2015-10-27 6:02 [PATCH] powerpc/dma: dma_set_coherent_mask() should not be GPL only Benjamin Herrenschmidt
@ 2015-10-28 8:34 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2015-10-28 8:34 UTC (permalink / raw)
To: Benjamin Herrenschmidt, linuxppc-dev; +Cc: Michael Ellerman
On Tue, 2015-27-10 at 06:02:42 UTC, Benjamin Herrenschmidt wrote:
> 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.
>
> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/977bf062bba3eb8d03f66d5b
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-28 8:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-27 6:02 [PATCH] powerpc/dma: dma_set_coherent_mask() should not be GPL only Benjamin Herrenschmidt
2015-10-28 8:34 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).