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>
This commit is contained in:
@@ -277,5 +277,11 @@ void __init cpu_cache_init(void)
|
|||||||
sh4_cache_init();
|
sh4_cache_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (boot_cpu_data.family == CPU_FAMILY_SH5) {
|
||||||
|
extern void __weak sh5_cache_init(void);
|
||||||
|
|
||||||
|
sh5_cache_init();
|
||||||
|
}
|
||||||
|
|
||||||
emit_cache_params();
|
emit_cache_params();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user