summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/mips32.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-02-05 01:02:46 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-02-05 01:02:46 +0000
commit41f766e193858f7b5d1f9e81f50f392c1bd40f32 (patch)
tree98e4f873822133df2c5347efd9e95649cbd09a76 /arch/mips/mm/mips32.c
parentc57670c55888e298bc39ccfb4cc020b963a478c5 (diff)
Introduce __flush_cache_all() which flushes the cache no matter if
this operation is necessary from the mm point of view or not.
Diffstat (limited to 'arch/mips/mm/mips32.c')
-rw-r--r--arch/mips/mm/mips32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/mm/mips32.c b/arch/mips/mm/mips32.c
index 6f44efea9..32f7e132b 100644
--- a/arch/mips/mm/mips32.c
+++ b/arch/mips/mm/mips32.c
@@ -979,6 +979,7 @@ static void __init setup_noscache_funcs(void)
static void __init setup_scache_funcs(void)
{
_flush_cache_all = mips32_flush_cache_all_sc;
+ ___flush_cache_all = mips32_flush_cache_all_sc;
_flush_cache_mm = mips32_flush_cache_mm_sc;
_flush_cache_range = mips32_flush_cache_range_sc;
_flush_cache_page = mips32_flush_cache_page_sc;
@@ -1062,7 +1063,7 @@ void __init ld_mmu_mips32(void)
_flush_cache_sigtramp = mips32_flush_cache_sigtramp;
_flush_icache_range = mips32_flush_icache_range; /* Ouch */
- flush_cache_all();
+ __flush_cache_all();
write_32bit_cp0_register(CP0_WIRED, 0);
/*