Message ID | 95F51F4B902CAC40AF459205F6322F0133E18561C7@BMK019S01.emtrion.local (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
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); } } }