diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index 86f21391eb0976a12078586d581713b2fb397034..e7f798d55fbcca06eaa0fe07a6822c3aedd18cc8 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c @@ -1497,6 +1497,10 @@ static void probe_pcache(void) c->dcache.flags |= MIPS_CACHE_ALIASES; } + /* Physically indexed caches don't suffer from virtual aliasing */ + if (c->dcache.flags & MIPS_CACHE_PINDEX) + c->dcache.flags &= ~MIPS_CACHE_ALIASES; + switch (current_cpu_type()) { case CPU_20KC: /*