Skip to contentSkip to conversation

nds32: don't export low-level cache flushing routines

PATCH In review Christoph Hellwig 2 participants 2 messages Apr 29, 2019 – May 7, 2019

lore
Share & tools
lore
#0 lore raw

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.

---
 arch/nds32/kernel/nds32_ksyms.c | 6 ------
 1 file changed, 6 deletions(-)
arch/nds32/kernel/nds32_ksyms.c +0 -6
index 5ecebd0e60cb..20719e42ae36 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw

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.

---
 arch/nds32/kernel/nds32_ksyms.c | 6 ------
 1 file changed, 6 deletions(-)
arch/nds32/kernel/nds32_ksyms.c +0 -0
index 5ecebd0e60cb..20719e42ae36 100644

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);

Thanks for your patch. I will put in my next tree.