Skip to content

Commit

Permalink
sh64: Setup I/D-TLB defaults in SH-5 probe path.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed May 8, 2008
1 parent 640f748 commit 2a6b814
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/sh/kernel/cpu/sh5/probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <linux/string.h>
#include <asm/processor.h>
#include <asm/cache.h>
#include <asm/tlb.h>

int __init detect_cpu_and_cache_system(void)
{
Expand Down Expand Up @@ -67,5 +68,8 @@ int __init detect_cpu_and_cache_system(void)
set_bit(SH_CACHE_MODE_WB, &(boot_cpu_data.dcache.flags));
#endif

/* Setup some I/D TLB defaults */
sh64_tlb_init();

return 0;
}

0 comments on commit 2a6b814

Please sign in to comment.