summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/cacheflush.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-15 11:05:42 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-08-15 11:05:42 +0900
commitecba1060583635ab55092072441ff903b5e9a659 (patch)
treed84dc75eae0b1bb2a2751240783444e2e92ca695 /arch/sh/include/asm/cacheflush.h
parente82da214d2fe3dc2610df966100c4f36bc0fad91 (diff)
downloadlinux-3.10-ecba1060583635ab55092072441ff903b5e9a659.tar.gz
linux-3.10-ecba1060583635ab55092072441ff903b5e9a659.tar.bz2
linux-3.10-ecba1060583635ab55092072441ff903b5e9a659.zip
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/include/asm/cacheflush.h')
-rw-r--r--arch/sh/include/asm/cacheflush.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/include/asm/cacheflush.h b/arch/sh/include/asm/cacheflush.h
index 9ec13fb909d..e37654f7f54 100644
--- a/arch/sh/include/asm/cacheflush.h
+++ b/arch/sh/include/asm/cacheflush.h
@@ -12,7 +12,6 @@
*
* See arch/sh/kernel/cpu/init.c:cache_init().
*/
-#define p3_cache_init() do { } while (0)
#define flush_cache_all() do { } while (0)
#define flush_cache_mm(mm) do { } while (0)
#define flush_cache_dup_mm(mm) do { } while (0)
@@ -78,5 +77,7 @@ void kunmap_coherent(void);
#define PG_dcache_dirty PG_arch_1
+void cpu_cache_init(void);
+
#endif /* __KERNEL__ */
#endif /* __ASM_SH_CACHEFLUSH_H */