aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/cache.c
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/cache.c
parentsh64: Kill off dead i/d-cache disabled bits. (diff)
downloadlinux-dev-2b4315185a06414c4ab40fb0db50dce1b534a1d9.tar.xz
linux-dev-2b4315185a06414c4ab40fb0db50dce1b534a1d9.zip
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/cache.c')
-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)
sh4_cache_init();
}
+ if (boot_cpu_data.family == CPU_FAMILY_SH5) {
+ extern void __weak sh5_cache_init(void);
+
+ sh5_cache_init();
+ }
+
emit_cache_params();
}