riscv: move flush_icache_{all,mm} to cacheflush.c
[linux-2.6-microblaze.git] / arch / riscv / include / asm / cacheflush.h
index 8f13074..1f4ba68 100644 (file)
@@ -47,7 +47,7 @@ static inline void flush_dcache_page(struct page *page)
 
 #else /* CONFIG_SMP */
 
-#define flush_icache_all() sbi_remote_fence_i(NULL)
+void flush_icache_all(void);
 void flush_icache_mm(struct mm_struct *mm, bool local);
 
 #endif /* CONFIG_SMP */