summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/cache-sh7705.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-09-15 09:47:35 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-09-15 09:47:35 +0900
commitc8c2df9055074197ba12902c6d7e840667fb56d6 (patch)
tree2a49d637b71d04d667bfb9306a3b6659788c6d69 /arch/sh/mm/cache-sh7705.c
parentbb7001b50123fcb05f331b22092243f92e9bcec9 (diff)
downloadop-kernel-dev-c8c2df9055074197ba12902c6d7e840667fb56d6.zip
op-kernel-dev-c8c2df9055074197ba12902c6d7e840667fb56d6.tar.gz
sh: Fix up sh7705 flush_dcache_page() build.
Type mismatch caused the page deref to blow up, fix it up as per the sh4 change. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/cache-sh7705.c')
-rw-r--r--arch/sh/mm/cache-sh7705.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/mm/cache-sh7705.c b/arch/sh/mm/cache-sh7705.c
index 6293f57..2cadee2 100644
--- a/arch/sh/mm/cache-sh7705.c
+++ b/arch/sh/mm/cache-sh7705.c
@@ -133,8 +133,9 @@ static void __flush_dcache_page(unsigned long phys)
* Write back & invalidate the D-cache of the page.
* (To avoid "alias" issues)
*/
-static void sh7705_flush_dcache_page(void *page)
+static void sh7705_flush_dcache_page(void *arg)
{
+ struct page *page = arg;
struct address_space *mapping = page_mapping(page);
if (mapping && !mapping_mapped(mapping))
OpenPOWER on IntegriCloud