Skip to contentSkip to conversation

powerpc/pmem: Convert to EXPORT_SYMBOL_GPL

PATCH Applied Aneesh Kumar K.V 2 participants 2 messages Dec 2, 2019 – Dec 9, 2019 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/pmem: Convert to EXPORT_SYMBOL_GPL

All other architecture export this as GPL symbol

---
 arch/powerpc/lib/pmem.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/lib/pmem.c +2 -2
index 377712e85605..0666a8d29596 100644
@@ -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
Signature · 1 line
2.23.0