Merge tag 'trace-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux-2.6-microblaze.git] / arch / sh / mm / cache-sh4.c
index 58aaa4f..eee9114 100644 (file)
@@ -112,7 +112,7 @@ static void sh4_flush_dcache_page(void *arg)
        struct page *page = arg;
        unsigned long addr = (unsigned long)page_address(page);
 #ifndef CONFIG_SMP
-       struct address_space *mapping = page_mapping(page);
+       struct address_space *mapping = page_mapping_file(page);
 
        if (mapping && !mapping_mapped(mapping))
                clear_bit(PG_dcache_clean, &page->flags);