From: Ralf Baechle Date: Sun, 10 Dec 2006 18:43:59 +0000 (+0000) Subject: [MIPS] Export local_flush_data_cache_page for sake of IDE. X-Git-Tag: v3.12-rc1~32223^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9202f32558601c2c99ddc438eb3218131d00d413;p=kernel%2Fkernel-generic.git [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 --- diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c index caf807d..1f954a2 100644 --- a/arch/mips/mm/cache.c +++ b/arch/mips/mm/cache.c @@ -32,6 +32,7 @@ void (*local_flush_data_cache_page)(void * addr); void (*flush_data_cache_page)(unsigned long addr); void (*flush_icache_all)(void); +EXPORT_SYMBOL_GPL(local_flush_data_cache_page); EXPORT_SYMBOL(flush_data_cache_page); #ifdef CONFIG_DMA_NONCOHERENT