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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/mm/cache.c b/arch/sh/mm/cache.c
index 0f4095d7ac8b..ba401d137bb9 100644
--- a/arch/sh/mm/cache.c
+++ b/arch/sh/mm/cache.c
@@ -334,6 +334,13 @@ void __init cpu_cache_init(void)
334 extern void __weak sh4_cache_init(void); 334 extern void __weak sh4_cache_init(void);
335 335
336 sh4_cache_init(); 336 sh4_cache_init();
337
338 if ((boot_cpu_data.type == CPU_SH7786) ||
339 (boot_cpu_data.type == CPU_SHX3)) {
340 extern void __weak shx3_cache_init(void);
341
342 shx3_cache_init();
343 }
337 } 344 }
338 345
339 if (boot_cpu_data.family == CPU_FAMILY_SH5) { 346 if (boot_cpu_data.family == CPU_FAMILY_SH5) {