sh: Move alias computation to shared cache init.
authorPaul Mundt <lethal@linux-sh.org>
Sat, 15 Aug 2009 02:11:16 +0000 (11:11 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 15 Aug 2009 02:11:16 +0000 (11:11 +0900)
commit27d59ec1709817a90aa3ab7169f60994a89ad2f5
treec9aca1b3474d1ef076cecb07a4ccb42c126c4acf
parentecba1060583635ab55092072441ff903b5e9a659
sh: Move alias computation to shared cache init.

This migrates the alias computation and printing of probed cache
parameters from the SH-4 code to the shared cpu_cache_init().

This permits other platforms with aliases to make use of the same
probe logic without having to roll their own, and also produces
consistent output regardless of platform.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/cache-sh4.c
arch/sh/mm/cache.c