[MIPS] local_r4k_flush_cache_page fix
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 13 Mar 2006 09:23:03 +0000 (18:23 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 18 Mar 2006 16:59:27 +0000 (16:59 +0000)
commitde62893bc0725f8b5f0445250577cd7a10b2d8f8
tree3a5d77b8e8aa66113431ebe287c552749c2e8fee
parenta3c4946db4fe64cb21b66a09e89890678aac6d65
[MIPS] local_r4k_flush_cache_page fix

If dcache_size != icache_size or dcache_size != scache_size, or
set-associative cache, icache/scache does not flushed properly.  Make
blast_?cache_page_indexed() masks its index value correctly.  Also,
use physical address for physically indexed pcache/scache.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c
arch/mips/mm/c-tx39.c
include/asm-mips/cpu-features.h
include/asm-mips/cpu-info.h
include/asm-mips/r4kcache.h