Commit c8c2df90 authored by Paul Mundt's avatar Paul Mundt

sh: Fix up sh7705 flush_dcache_page() build.

Type mismatch caused the page deref to blow up, fix it up as per the sh4
change.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent bb7001b5
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment