Explorar o código

sh: Fix up sh4_flush_dcache_page() build on UP.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt %!s(int64=15) %!d(string=hai) anos
pai
achega
e76a0136a3
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      arch/sh/mm/cache-sh4.c

+ 2 - 1
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.
  * Write back & invalidate the D-cache of the page.
  * (To avoid "alias" issues)
  * (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
 #ifndef CONFIG_SMP
 	struct address_space *mapping = page_mapping(page);
 	struct address_space *mapping = page_mapping(page);