]> Pileus Git - ~andy/linux/blobdiff - arch/sh/mm/cache.c
Merge branch 'sh/stable-updates'
[~andy/linux] / arch / sh / mm / cache.c
index 4aa9260545316f5ff944afe8b8319055b6aabb3d..e8810f7fc7ea0ff7e389d728811c73b419917f8e 100644 (file)
@@ -128,7 +128,7 @@ void __update_cache(struct vm_area_struct *vma,
                return;
 
        page = pfn_to_page(pfn);
-       if (pfn_valid(pfn) && page_mapping(page)) {
+       if (pfn_valid(pfn)) {
                int dirty = test_and_clear_bit(PG_dcache_dirty, &page->flags);
                if (dirty) {
                        unsigned long addr = (unsigned long)page_address(page);