Skip to content

Commit

Permalink
sh: Fix up sh7705 flush_dcache_page() build.
Browse files Browse the repository at this point in the history
Type mismatch caused the page deref to blow up, fix it up as per the sh4
change.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Sep 15, 2009
1 parent bb7001b commit c8c2df9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/sh/mm/cache-sh7705.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,9 @@ static void __flush_dcache_page(unsigned long phys)
* Write back & invalidate the D-cache of the page.
* (To avoid "alias" issues)
*/
static void sh7705_flush_dcache_page(void *page)
static void sh7705_flush_dcache_page(void *arg)
{
struct page *page = arg;
struct address_space *mapping = page_mapping(page);

if (mapping && !mapping_mapped(mapping))
Expand Down

0 comments on commit c8c2df9

Please sign in to comment.