projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6afd12
)
powerpc/pmem: Convert to EXPORT_SYMBOL_GPL
author
Aneesh Kumar K.V
<aneesh.kumar@linux.ibm.com>
Mon, 2 Dec 2019 06:40:18 +0000
(12:10 +0530)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 4 Dec 2019 22:17:42 +0000
(09:17 +1100)
All other architecture export this as GPL symbol
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/20191202064018.155083-1-aneesh.kumar@linux.ibm.com
arch/powerpc/lib/pmem.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/lib/pmem.c
b/arch/powerpc/lib/pmem.c
index
377712e
..
0666a8d
100644
(file)
--- 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