sh: Fix up sh4_flush_dcache_page() build on UP.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 27 Aug 2009 02:31:16 +0000 (11:31 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 27 Aug 2009 02:31:16 +0000 (11:31 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/cache-sh4.c

index e3b77f0..2775f84 100644 (file)
@@ -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);