aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/cache-sh4.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-26 22:31:16 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-08-26 22:31:16 -0400
commite76a0136a3cf1859fbc07f122e42293d22229558 (patch)
tree693a0989c4ef99c36aeee68f652ca2845435dc51 /arch/sh/mm/cache-sh4.c
parent64a6d72213dd810dd55bd0a503c36150af41c3c3 (diff)
sh: Fix up sh4_flush_dcache_page() build on UP.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/cache-sh4.c')
-rw-r--r--arch/sh/mm/cache-sh4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c
index e3b77f0fa47..2775f84d9aa 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,
103 * Write back & invalidate the D-cache of the page. 103 * Write back & invalidate the D-cache of the page.
104 * (To avoid "alias" issues) 104 * (To avoid "alias" issues)
105 */ 105 */
106static void sh4_flush_dcache_page(void *page) 106static void sh4_flush_dcache_page(void *arg)
107{ 107{
108 struct page *page = arg;
108#ifndef CONFIG_SMP 109#ifndef CONFIG_SMP
109 struct address_space *mapping = page_mapping(page); 110 struct address_space *mapping = page_mapping(page);
110 111