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/include/cpu-sh3 | |
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/include/cpu-sh3')
-rw-r--r-- | arch/sh/include/cpu-sh3/cpu/cacheflush.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/include/cpu-sh3/cpu/cacheflush.h b/arch/sh/include/cpu-sh3/cpu/cacheflush.h index 3b5f3df4e1c8..cf656a093770 100644 --- a/arch/sh/include/cpu-sh3/cpu/cacheflush.h +++ b/arch/sh/include/cpu-sh3/cpu/cacheflush.h | |||
@@ -32,8 +32,6 @@ void flush_icache_page(struct vm_area_struct *vma, struct page *page); | |||
32 | #define flush_cache_sigtramp(vaddr) do { } while (0) | 32 | #define flush_cache_sigtramp(vaddr) do { } while (0) |
33 | #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) | 33 | #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) |
34 | 34 | ||
35 | #define p3_cache_init() do { } while (0) | ||
36 | |||
37 | #else | 35 | #else |
38 | #include <cpu-common/cpu/cacheflush.h> | 36 | #include <cpu-common/cpu/cacheflush.h> |
39 | #endif | 37 | #endif |