From e76a0136a3cf1859fbc07f122e42293d22229558 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Thu, 27 Aug 2009 11:31:16 +0900 Subject: [PATCH] sh: Fix up sh4_flush_dcache_page() build on UP. Signed-off-by: Paul Mundt --- arch/sh/mm/cache-sh4.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c index e3b77f0f..2775f84 100644 --- a/arch/sh/mm/cache-sh4.c +++ b/arch/sh/mm/cache-sh4.c @@ -103,8 +103,9 @@ static inline void flush_cache_4096(unsigned long start, * Write back & invalidate the D-cache of the page. * (To avoid "alias" issues) */ -static void sh4_flush_dcache_page(void *page) +static void sh4_flush_dcache_page(void *arg) { + struct page *page = arg; #ifndef CONFIG_SMP struct address_space *mapping = page_mapping(page); -- 2.7.4