Skip to content

Commit

Permalink
sh: Fix up sh4_flush_dcache_page() build on UP.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Aug 27, 2009
1 parent 64a6d72 commit e76a013
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/sh/mm/cache-sh4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e76a013

Please sign in to comment.