diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-10-13 11:27:08 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-10-13 11:27:08 +0900 |
commit | 95019b48addc014c7de6653517663527a1747fb7 (patch) | |
tree | 5488066e45e8e9de1fef431f39a93cd2d5967b61 /arch/sh/mm/cache.c | |
parent | 7a0064d67215c53dce56839c82db504d0a066b79 (diff) | |
parent | 964f7e5a56814b32c727821de77d22bd7ef782bc (diff) |
Merge branch 'sh/stable-updates'
Diffstat (limited to 'arch/sh/mm/cache.c')
-rw-r--r-- | arch/sh/mm/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/cache.c b/arch/sh/mm/cache.c index 4aa926054531..e8810f7fc7ea 100644 --- a/arch/sh/mm/cache.c +++ b/arch/sh/mm/cache.c @@ -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); |