diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-27 04:31:16 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-27 04:31:16 +0200 |
commit | e76a0136a3cf1859fbc07f122e42293d22229558 (patch) | |
tree | 693a0989c4ef99c36aeee68f652ca2845435dc51 /arch/sh | |
parent | sh: Kill off now redundant local irq disabling. (diff) | |
download | linux-e76a0136a3cf1859fbc07f122e42293d22229558.tar.xz linux-e76a0136a3cf1859fbc07f122e42293d22229558.zip |
sh: Fix up sh4_flush_dcache_page() build on UP.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/mm/cache-sh4.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c index e3b77f0fa470..2775f84d9aa3 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); |