sh: Optimized cache handling for SH-4/SH-4A caches.
authorRichard Curnow <richard.curnow@st.com>
Wed, 27 Sep 2006 05:09:26 +0000 (14:09 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 05:09:26 +0000 (14:09 +0900)
commitb638d0b921dc95229af0dfd09cd24850336a2f75
tree0ef34527a47b22421fb92ba2141052fecfe36482
parentfdfc74f9fcebdda14609159d5010b758a9409acf
sh: Optimized cache handling for SH-4/SH-4A caches.

This reworks some of the SH-4 cache handling code to more easily
accomodate newer-style caches (particularly for the > direct-mapped
case), as well as optimizing some of the old code.

Signed-off-by: Richard Curnow <richard.curnow@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/init.c
arch/sh/kernel/cpu/sh4/probe.c
arch/sh/mm/cache-sh4.c
arch/sh/mm/clear_page.S
include/asm-sh/cache.h