[PATCH] powerpc/pmem: Convert to EXPORT_SYMBOL_GPL

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE2427d LANDED

Landed in mainline as 551003fff723 on 2019-12-04.

2 messages, 2 authors, 2019-12-09 · open the first message on its own page

[PATCH] powerpc/pmem: Convert to EXPORT_SYMBOL_GPL

From: Aneesh Kumar K.V <hidden>
Date: 2019-12-02 06:43:06

All other architecture export this as GPL symbol

Signed-off-by: Aneesh Kumar K.V <redacted>
---
 arch/powerpc/lib/pmem.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/lib/pmem.c b/arch/powerpc/lib/pmem.c
index 377712e85605..0666a8d29596 100644
--- a/arch/powerpc/lib/pmem.c
+++ b/arch/powerpc/lib/pmem.c
@@ -17,14 +17,14 @@ void arch_wb_cache_pmem(void *addr, size_t size)
 	unsigned long start = (unsigned long) addr;
 	flush_dcache_range(start, start + size);
 }
-EXPORT_SYMBOL(arch_wb_cache_pmem);
+EXPORT_SYMBOL_GPL(arch_wb_cache_pmem);
 
 void arch_invalidate_pmem(void *addr, size_t size)
 {
 	unsigned long start = (unsigned long) addr;
 	flush_dcache_range(start, start + size);
 }
-EXPORT_SYMBOL(arch_invalidate_pmem);
+EXPORT_SYMBOL_GPL(arch_invalidate_pmem);
 
 /*
  * CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE symbols
-- 
2.23.0

Re: [PATCH] powerpc/pmem: Convert to EXPORT_SYMBOL_GPL

From: Michael Ellerman <hidden>
Date: 2019-12-09 05:50:29

On Mon, 2019-12-02 at 06:40:18 UTC, "Aneesh Kumar K.V" wrote:
All other architecture export this as GPL symbol

Signed-off-by: Aneesh Kumar K.V <redacted>
Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/551003fff7235ce935bc1fefb72d12b63a408bd0

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help