mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 21:21:47 +00:00
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:
parent
640f7487a9
commit
2a6b8148c0
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user