mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
powerpc/pmem: Convert to EXPORT_SYMBOL_GPL
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
This commit is contained in:
parent
b6afd1234c
commit
551003fff7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue