diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-12-09 03:16:12 +0300 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-12-12 02:42:08 +0300 |
commit | 37bda1da4570c2e9c6dd34e77d2120218e384950 (patch) | |
tree | aed9dbddd0e9ac13a1fc2d2ce3323fee9741b833 /arch/sh/mm/cache-sh4.c | |
parent | 79890c512444aa55a7a42ac5e7d29d7a4edba11b (diff) | |
download | linux-37bda1da4570c2e9c6dd34e77d2120218e384950.tar.xz |
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.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 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++) |