瀏覽代碼

Remove old wrong bits of cache code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 20 年之前
父節點
當前提交
28ecca4786
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      arch/mips/mm/c-r4k.c

+ 0 - 3
arch/mips/mm/c-r4k.c

@@ -1212,9 +1212,6 @@ void __init ld_mmu_r4xx0(void)
 	probe_pcache();
 	probe_pcache();
 	setup_scache();
 	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_setup();
 	r4k_blast_dcache_page_indexed_setup();
 	r4k_blast_dcache_page_indexed_setup();
 	r4k_blast_dcache_setup();
 	r4k_blast_dcache_setup();