summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/cache-sh4.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-12-09 09:16:12 +0900
committerPaul Mundt <lethal@linux-sh.org>2006-12-12 08:42:08 +0900
commit37bda1da4570c2e9c6dd34e77d2120218e384950 (patch)
treeaed9dbddd0e9ac13a1fc2d2ce3323fee9741b833 /arch/sh/mm/cache-sh4.c
parent79890c512444aa55a7a42ac5e7d29d7a4edba11b (diff)
downloadblackbird-op-linux-37bda1da4570c2e9c6dd34e77d2120218e384950.tar.gz
blackbird-op-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++)
OpenPOWER on IntegriCloud