diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-14 22:05:42 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-14 22:05:42 -0400 |
commit | ecba1060583635ab55092072441ff903b5e9a659 (patch) | |
tree | d84dc75eae0b1bb2a2751240783444e2e92ca695 /arch/sh/mm/cache-sh4.c | |
parent | e82da214d2fe3dc2610df966100c4f36bc0fad91 (diff) |
sh: Centralize the CPU cache initialization routines.
This provides a central point for CPU cache initialization routines.
This replaces the antiquated p3_cache_init() method, which the vast
majority of CPUs never cared about.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/cache-sh4.c')
-rw-r--r-- | arch/sh/mm/cache-sh4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c index 92f87a460a81..df2eb87f1524 100644 --- a/arch/sh/mm/cache-sh4.c +++ b/arch/sh/mm/cache-sh4.c | |||
@@ -94,7 +94,7 @@ static void __init emit_cache_params(void) | |||
94 | /* | 94 | /* |
95 | * SH-4 has virtually indexed and physically tagged cache. | 95 | * SH-4 has virtually indexed and physically tagged cache. |
96 | */ | 96 | */ |
97 | void __init p3_cache_init(void) | 97 | void __init sh4_cache_init(void) |
98 | { | 98 | { |
99 | compute_alias(&boot_cpu_data.icache); | 99 | compute_alias(&boot_cpu_data.icache); |
100 | compute_alias(&boot_cpu_data.dcache); | 100 | compute_alias(&boot_cpu_data.dcache); |