From: Paul Mundt Date: Fri, 25 Apr 2008 04:05:17 +0000 (+0900) Subject: sh64: Setup I/D-TLB defaults in SH-5 probe path. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2a6b8148c050941dd61779cb0b49c5c3ea854ebf;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git sh64: Setup I/D-TLB defaults in SH-5 probe path. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/cpu/sh5/probe.c b/arch/sh/kernel/cpu/sh5/probe.c index 31f8cb0f6374..92ad844b5c12 100644 --- a/arch/sh/kernel/cpu/sh5/probe.c +++ b/arch/sh/kernel/cpu/sh5/probe.c @@ -15,6 +15,7 @@ #include #include #include +#include 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)); #endif + /* Setup some I/D TLB defaults */ + sh64_tlb_init(); + return 0; }