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: v2.6.30-rc6~13^2~28 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=7fc7316aa82fb3874f69689bd36134afea9c8bfd;p=~shefty%2Frdma-dev.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 58d9075e86f..171951d2305 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",