summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-16 02:16:44 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-08-16 02:16:44 +0900
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 8618ccdc1ca..d6023946043 100644
--- a/arch/sh/mm/cache.c
+++ b/arch/sh/mm/cache.c
@@ -277,5 +277,11 @@ void __init cpu_cache_init(void)
sh4_cache_init();
}
+ if (boot_cpu_data.family == CPU_FAMILY_SH5) {
+ extern void __weak sh5_cache_init(void);
+
+ sh5_cache_init();
+ }
+
emit_cache_params();
}