diff mbox

AW: Probably cache synchronization issue on SH7723

Message ID 95F51F4B902CAC40AF459205F6322F0133E18561C7@BMK019S01.emtrion.local (mailing list archive)
State Accepted
Headers show

Commit Message

Pietrek, Markus Dec. 22, 2009, 4:18 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/sh/mm/cache.c b/arch/sh/mm/cache.c
index e9415d3..30c3d7e 100644
--- a/arch/sh/mm/cache.c
+++ b/arch/sh/mm/cache.c
@@ -136,8 +136,7 @@  void __update_cache(struct vm_area_struct *vma,
                if (dirty) {
                        unsigned long addr = (unsigned long)page_address(page);

-                       if (pages_do_alias(addr, address & PAGE_MASK))
-                               __flush_purge_region((void *)addr, PAGE_SIZE);
+                        __flush_purge_region((void *)addr, PAGE_SIZE);
                }
        }
 }