aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/cache.c
diff options
context:
space:
mode:
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 da5bc6ac1b28..5ac299d6604e 100644
--- a/arch/sh/mm/cache.c
+++ b/arch/sh/mm/cache.c
@@ -244,6 +244,12 @@ void __init cpu_cache_init(void)
244 __flush_purge_region = noop__flush_region; 244 __flush_purge_region = noop__flush_region;
245 __flush_invalidate_region = noop__flush_region; 245 __flush_invalidate_region = noop__flush_region;
246 246
247 if (boot_cpu_data.family == CPU_FAMILY_SH2) {
248 extern void __weak sh2_cache_init(void);
249
250 sh2_cache_init();
251 }
252
247 if ((boot_cpu_data.family == CPU_FAMILY_SH4) || 253 if ((boot_cpu_data.family == CPU_FAMILY_SH4) ||
248 (boot_cpu_data.family == CPU_FAMILY_SH4A) || 254 (boot_cpu_data.family == CPU_FAMILY_SH4A) ||
249 (boot_cpu_data.family == CPU_FAMILY_SH4AL_DSP)) { 255 (boot_cpu_data.family == CPU_FAMILY_SH4AL_DSP)) {