diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-16 02:16:44 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-16 02:16:44 +0900 |
commit | 2b4315185a06414c4ab40fb0db50dce1b534a1d9 (patch) | |
tree | cd04683601769c003c07722dfc438265d7b6bfe7 /arch/sh/mm | |
parent | 8c41cdcaffb09dca8e6ad7d4d8f885e0b86b9002 (diff) | |
download | linux-2b4315185a06414c4ab40fb0db50dce1b534a1d9.tar.gz linux-2b4315185a06414c4ab40fb0db50dce1b534a1d9.tar.bz2 linux-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')
-rw-r--r-- | arch/sh/mm/cache.c | 6 |
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(); } |