summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/cache-sh5.c
diff options
context:
space:
mode:
authorPaul Mundt2009-08-15 04:38:05 +0200
committerPaul Mundt2009-08-15 04:38:05 +0200
commit916e97834e023f89b31f796b53cc9c7956e7fe17 (patch)
tree60655c29dd9c78ee920a7dd73a1f7dff3dd85cce /arch/sh/mm/cache-sh5.c
parentsh: consolidate flush_dcache_mmap_lock/unlock() definitions. (diff)
downloadkernel-qcow2-linux-916e97834e023f89b31f796b53cc9c7956e7fe17.tar.gz
kernel-qcow2-linux-916e97834e023f89b31f796b53cc9c7956e7fe17.tar.xz
kernel-qcow2-linux-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/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 576cad04b11b..a50d23caf015 100644
--- a/arch/sh/mm/cache-sh5.c
+++ b/arch/sh/mm/cache-sh5.c
@@ -655,7 +655,7 @@ void flush_icache_range(unsigned long start, unsigned long end)
* range following a poke into the program text through the ptrace() call
* from another process (e.g. for BRK instruction insertion).
*/
-void flush_icache_user_range(struct vm_area_struct *vma,
+static void flush_icache_user_range(struct vm_area_struct *vma,
struct page *page, unsigned long addr, int len)
{