sh: Migrate SH-4 cacheflush ops to function pointers.
authorPaul Mundt <lethal@linux-sh.org>
Sat, 15 Aug 2009 03:29:49 +0000 (12:29 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 15 Aug 2009 03:29:49 +0000 (12:29 +0900)
commit37443ef3f0406e855e169c87ae3f4ffb4b6ff635
treedd57e6fe91e6058b45660b6e4629249a50bc448e
parent916e97834e023f89b31f796b53cc9c7956e7fe17
sh: Migrate SH-4 cacheflush ops to function pointers.

This paves the way for allowing individual CPUs to overload the
individual flushing routines that they care about without having to
depend on weak aliases. SH-4 is converted over initially, as it wires
up pretty much everything. The majority of the other CPUs will simply use
the default no-op implementation with their own region flushers wired up.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/cacheflush.h
arch/sh/include/cpu-common/cpu/cacheflush.h
arch/sh/include/cpu-sh4/cpu/cacheflush.h [deleted file]
arch/sh/include/cpu-sh5/cpu/cacheflush.h
arch/sh/mm/cache-sh4.c
arch/sh/mm/cache-sh5.c
arch/sh/mm/cache.c
arch/sh/mm/flush-sh4.c
arch/sh/mm/init.c