aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/cache-sh5.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-14 22:05:42 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-08-14 22:05:42 -0400
commitecba1060583635ab55092072441ff903b5e9a659 (patch)
treed84dc75eae0b1bb2a2751240783444e2e92ca695 /arch/sh/mm/cache-sh5.c
parente82da214d2fe3dc2610df966100c4f36bc0fad91 (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-sh5.c')
-rw-r--r--arch/sh/mm/cache-sh5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/cache-sh5.c b/arch/sh/mm/cache-sh5.c
index 28f3c8fb1b99..576cad04b11b 100644
--- a/arch/sh/mm/cache-sh5.c
+++ b/arch/sh/mm/cache-sh5.c
@@ -23,7 +23,7 @@
23/* Wired TLB entry for the D-cache */ 23/* Wired TLB entry for the D-cache */
24static unsigned long long dtlb_cache_slot; 24static unsigned long long dtlb_cache_slot;
25 25
26void __init p3_cache_init(void) 26void __init cpu_cache_init(void)
27{ 27{
28 /* Reserve a slot for dcache colouring in the DTLB */ 28 /* Reserve a slot for dcache colouring in the DTLB */
29 dtlb_cache_slot = sh64_get_wired_dtlb_entry(); 29 dtlb_cache_slot = sh64_get_wired_dtlb_entry();