]> Pileus Git - ~andy/linux/commitdiff
sh: Wire up sh5_cache_init().
authorPaul Mundt <lethal@linux-sh.org>
Sat, 15 Aug 2009 17:16:44 +0000 (02:16 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 15 Aug 2009 17:16:44 +0000 (02:16 +0900)
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>
arch/sh/mm/cache.c

index 8618ccdc1ca524fc48b58bb48b6c1bb01603d987..d602394604366545724751b818e073763dd03997 100644 (file)
@@ -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();
 }