From: Ralf Baechle Date: Wed, 1 Apr 2009 14:11:53 +0000 (+0200) Subject: MIPS: Print the actual detected I-cache associativity on bootup. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7fc7316aa82fb3874f69689bd36134afea9c8bfd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git MIPS: Print the actual detected I-cache associativity on bootup. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index 58d9075e86fe..171951d2305b 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c @@ -1041,7 +1041,7 @@ static void __cpuinit probe_pcache(void) printk("Primary instruction cache %ldkB, %s, %s, linesize %d bytes.\n", icache_size >> 10, - cpu_has_vtag_icache ? "VIVT" : "VIPT", + c->icache.flags & MIPS_CACHE_VTAG ? "VIVT" : "VIPT", way_string[c->icache.ways], c->icache.linesz); printk("Primary data cache %ldkB, %s, %s, %s, linesize %d bytes\n",