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-Tag: upstream/snapshot3+hdmi~18860^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7fc7316aa82fb3874f69689bd36134afea9c8bfd;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 58d9075..171951d 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",