aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-15 13:16:44 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-08-15 13:16:44 -0400
commit2b4315185a06414c4ab40fb0db50dce1b534a1d9 (patch)
treecd04683601769c003c07722dfc438265d7b6bfe7 /arch/sh/mm
parent8c41cdcaffb09dca8e6ad7d4d8f885e0b86b9002 (diff)
sh: Wire up sh5_cache_init().
Now that the SH-5 code is more or less behaving with the new cacheflush interface, wire up the initialization code. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r--arch/sh/mm/cache.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sh/mm/cache.c b/arch/sh/mm/cache.c
index 8618ccdc1ca5..d60239460436 100644
--- a/arch/sh/mm/cache.c
+++ b/arch/sh/mm/cache.c
@@ -277,5 +277,11 @@ void __init cpu_cache_init(void)
277 sh4_cache_init(); 277 sh4_cache_init();
278 } 278 }
279 279
280 if (boot_cpu_data.family == CPU_FAMILY_SH5) {
281 extern void __weak sh5_cache_init(void);
282
283 sh5_cache_init();
284 }
285
280 emit_cache_params(); 286 emit_cache_params();
281} 287}