浏览代码

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>
Paul Mundt 16 年之前
父节点
当前提交
2b4315185a
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      arch/sh/mm/cache.c

+ 6 - 0
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();
 }