Remove old wrong bits of cache code.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 4 Feb 2005 15:19:01 +0000 (15:19 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:30:25 +0000 (19:30 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c

index 5ea84bc98c6a3fd8058d04ae8b56646f28dacf60..c08fa366b189fbb6a4fa4274320583bfe4aa76c1 100644 (file)
@@ -1212,9 +1212,6 @@ void __init ld_mmu_r4xx0(void)
        probe_pcache();
        setup_scache();
 
-       if (c->dcache.sets * c->dcache.ways > PAGE_SIZE)
-               c->dcache.flags |= MIPS_CACHE_ALIASES;
-
        r4k_blast_dcache_page_setup();
        r4k_blast_dcache_page_indexed_setup();
        r4k_blast_dcache_setup();