Преглед изворни кода

MIPS: Print the actual detected I-cache associativity on bootup.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle пре 16 година
родитељ
комит
7fc7316aa8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      arch/mips/mm/c-r4k.c

+ 1 - 1
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",