diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-14 22:22:50 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-14 22:22:50 -0400 |
commit | 0b445dcaf3adda5bec5cc494925bc689fcc59a0e (patch) | |
tree | 1d29422238cea24f33c78d2137ecf75d1b8bf255 /arch/sh/mm/cache-sh4.c | |
parent | 27d59ec1709817a90aa3ab7169f60994a89ad2f5 (diff) |
sh: Don't export flush_dcache_all().
flush_dcache_all() is used internally by the SH-4 cache code, it is not
part of the exported cache API, so make it static and don't export it.
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 4ac844b1432f..4466787a52aa 100644 --- a/arch/sh/mm/cache-sh4.c +++ b/arch/sh/mm/cache-sh4.c | |||
@@ -182,7 +182,7 @@ static void __uses_jump_to_uncached flush_icache_all(void) | |||
182 | local_irq_restore(flags); | 182 | local_irq_restore(flags); |
183 | } | 183 | } |
184 | 184 | ||
185 | void flush_dcache_all(void) | 185 | static inline void flush_dcache_all(void) |
186 | { | 186 | { |
187 | (*__flush_dcache_segment_fn)(0UL, boot_cpu_data.dcache.way_size); | 187 | (*__flush_dcache_segment_fn)(0UL, boot_cpu_data.dcache.way_size); |
188 | wmb(); | 188 | wmb(); |