sh64: Setup I/D-TLB defaults in SH-5 probe path.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt 2008-04-25 13:05:17 +09:00
parent 640f7487a9
commit 2a6b8148c0

View File

@ -15,6 +15,7 @@
#include <linux/string.h> #include <linux/string.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/tlb.h>
int __init detect_cpu_and_cache_system(void) int __init detect_cpu_and_cache_system(void)
{ {
@ -67,5 +68,8 @@ int __init detect_cpu_and_cache_system(void)
set_bit(SH_CACHE_MODE_WB, &(boot_cpu_data.dcache.flags)); set_bit(SH_CACHE_MODE_WB, &(boot_cpu_data.dcache.flags));
#endif #endif
/* Setup some I/D TLB defaults */
sh64_tlb_init();
return 0; return 0;
} }