openwrtv3/target/linux/ixp4xx/patches-2.6.34/605-arm-rmk-cache-flush-optim.patch

12 lines
268 B
Diff
Raw Normal View History

--- a/arch/arm/mm/fault-armv.c
+++ b/arch/arm/mm/fault-armv.c
@@ -134,8 +134,6 @@ make_coherent(struct address_space *mapp
flush_dcache_mmap_unlock(mapping);
if (aliases)
do_adjust_pte(vma, addr, pfn, ptep);
- else
- flush_cache_page(vma, addr, pfn);
}
/*