summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/cache-sh4.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-12-09 01:16:12 +0100
committerPaul Mundt <lethal@linux-sh.org>2006-12-12 00:42:08 +0100
commit37bda1da4570c2e9c6dd34e77d2120218e384950 (patch)
treeaed9dbddd0e9ac13a1fc2d2ce3323fee9741b833 /arch/sh/mm/cache-sh4.c
parentsh: Fixup kernel_execve() for syscall cleanups. (diff)
downloadlinux-37bda1da4570c2e9c6dd34e77d2120218e384950.tar.xz
linux-37bda1da4570c2e9c6dd34e77d2120218e384950.zip
sh: Convert remaining remap_area_pages() users to ioremap_page_range().
A couple of these were missed. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c
index ae531affccbd..c6955157c989 100644
--- a/arch/sh/mm/cache-sh4.c
+++ b/arch/sh/mm/cache-sh4.c
@@ -107,7 +107,7 @@ void __init p3_cache_init(void)
emit_cache_params();
- if (remap_area_pages(P3SEG, 0, PAGE_SIZE * 4, _PAGE_CACHABLE))
+ if (ioremap_page_range(P3SEG, P3SEG + (PAGE_SIZE * 4), 0, PAGE_KERNEL))
panic("%s failed.", __FUNCTION__);
for (i = 0; i < cpu_data->dcache.n_aliases; i++)