summaryrefslogtreecommitdiff
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-13 11:27:08 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-10-13 11:27:08 +0900
commit95019b48addc014c7de6653517663527a1747fb7 (patch)
tree5488066e45e8e9de1fef431f39a93cd2d5967b61 /arch/sh/mm
parent7a0064d67215c53dce56839c82db504d0a066b79 (diff)
parent964f7e5a56814b32c727821de77d22bd7ef782bc (diff)
downloadlinux-3.10-95019b48addc014c7de6653517663527a1747fb7.tar.gz
linux-3.10-95019b48addc014c7de6653517663527a1747fb7.tar.bz2
linux-3.10-95019b48addc014c7de6653517663527a1747fb7.zip
Merge branch 'sh/stable-updates'
Diffstat (limited to 'arch/sh/mm')
-rw-r--r--arch/sh/mm/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/cache.c b/arch/sh/mm/cache.c
index 4aa92605453..e8810f7fc7e 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);