Ver código fonte

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

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 17 anos atrás
pai
commit
2a6b8148c0
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      arch/sh/kernel/cpu/sh5/probe.c

+ 4 - 0
arch/sh/kernel/cpu/sh5/probe.c

@@ -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;
 }
 }