Skip to content

Commit 9202f32

Browse files
committed
[MIPS] Export local_flush_data_cache_page for sake of IDE.
On a CPU with aliases the IDE core needs to flush caches in the special IDE variants of insw, insl etc. If IDE support is built as a module this will only work if local_flush_data_cache_page happens is exported as a module. As per policy export local_flush_data_cache_page as GPL symbol only. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent f8bf35a commit 9202f32

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/mips/mm/cache.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ void (*local_flush_data_cache_page)(void * addr);
3232
void (*flush_data_cache_page)(unsigned long addr);
3333
void (*flush_icache_all)(void);
3434

35+
EXPORT_SYMBOL_GPL(local_flush_data_cache_page);
3536
EXPORT_SYMBOL(flush_data_cache_page);
3637

3738
#ifdef CONFIG_DMA_NONCOHERENT

0 commit comments

Comments
 (0)