aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/cpu-sh5
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-15 11:38:05 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-08-15 11:38:05 +0900
commit916e97834e023f89b31f796b53cc9c7956e7fe17 (patch)
tree60655c29dd9c78ee920a7dd73a1f7dff3dd85cce /arch/sh/include/cpu-sh5
parentsh: consolidate flush_dcache_mmap_lock/unlock() definitions. (diff)
downloadlinux-dev-916e97834e023f89b31f796b53cc9c7956e7fe17.tar.xz
linux-dev-916e97834e023f89b31f796b53cc9c7956e7fe17.zip
sh: Kill off unused flush_icache_user_range().
We use flush_cache_page() outright in copy_to_user_page(), and nothing else needs it, so just kill it off. SH-5 still defines its own version, but that too will go away in the same fashion once it converts over. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/cpu-sh5')
-rw-r--r--arch/sh/include/cpu-sh5/cpu/cacheflush.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/include/cpu-sh5/cpu/cacheflush.h b/arch/sh/include/cpu-sh5/cpu/cacheflush.h
index e9c26bdf3142..740d10a316ef 100644
--- a/arch/sh/include/cpu-sh5/cpu/cacheflush.h
+++ b/arch/sh/include/cpu-sh5/cpu/cacheflush.h
@@ -15,9 +15,6 @@ extern void flush_cache_range(struct vm_area_struct *vma, unsigned long start,
extern void flush_cache_page(struct vm_area_struct *vma, unsigned long addr, unsigned long pfn);
extern void flush_dcache_page(struct page *pg);
extern void flush_icache_range(unsigned long start, unsigned long end);
-extern void flush_icache_user_range(struct vm_area_struct *vma,
- struct page *page, unsigned long addr,
- int len);
#define flush_cache_dup_mm(mm) flush_cache_mm(mm)
#define flush_icache_page(vma, page) do { } while (0)