nds32: don't export low-level cache flushing routines
PATCH 1/1 nds32: don't export low-level cache flushing routines
None of these is used by modules. Nor should they as we have better highlevel primitives.
Signed-off-by Christoph Hellwig <[email protected]>
--- arch/nds32/kernel/nds32_ksyms.c | 6 ------ 1 file changed, 6 deletions(-)
arch/nds32/kernel/nds32_ksyms.c +0 -6
@@ -23,9 +23,3 @@ EXPORT_SYMBOL(memzero);EXPORT_SYMBOL (__arch_copy_from_user);EXPORT_SYMBOL (__arch_copy_to_user);EXPORT_SYMBOL (__arch_clear_user); - -/* cache handling */ -EXPORT_SYMBOL (cpu_icache_inval_all); -EXPORT_SYMBOL (cpu_dcache_wbinval_all); -EXPORT_SYMBOL (cpu_dma_inval_range); -EXPORT_SYMBOL (cpu_dma_wb_range);
Signature · 1 line
2.20.1
Hi Christoph,
Christoph Hellwig <[email protected]> 於 2019年4月29日 週一 下午7:52寫道:
Quoted 14 lines
None of these is used by modules. Nor should they as we have better highlevel primitives.
Signed-off-by Christoph Hellwig <[email protected]>--- arch/nds32/kernel/nds32_ksyms.c | 6 ------ 1 file changed, 6 deletions(-)arch/nds32/kernel/nds32_ksyms.c +0
-0
arch/nds32/kernel/nds32_ksyms.c EXPORT_SYMBOL(memzero); · line 31
Quoted 9 lines
arch/nds32/kernel/nds32_ksyms.c +0
-6@@ -23,9 +23,3 @@ EXPORT_SYMBOL(memzero);EXPORT_SYMBOL (__arch_copy_from_user);EXPORT_SYMBOL (__arch_copy_to_user);EXPORT_SYMBOL (__arch_clear_user); - -/* cache handling */ -EXPORT_SYMBOL (cpu_icache_inval_all); -EXPORT_SYMBOL (cpu_dcache_wbinval_all); -EXPORT_SYMBOL (cpu_dma_inval_range); -EXPORT_SYMBOL (cpu_dma_wb_range);
Acked-by Greentime Hu <[email protected]>
Thanks for your patch. I will put in my next tree.