From 2b4315185a06414c4ab40fb0db50dce1b534a1d9 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Sun, 16 Aug 2009 02:16:44 +0900 Subject: [PATCH] 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 --- arch/sh/mm/cache.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/sh/mm/cache.c b/arch/sh/mm/cache.c index 8618ccdc..d602394 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(); } -- 2.7.4