ixp4xx: add Mikael Petterssons patch works
[openwrt/staging/chunkeey.git] / target / linux / ixp4xx / patches-2.6.33 / 605-arm-rmk-cache-flush-optim.patch
diff --git a/target/linux/ixp4xx/patches-2.6.33/605-arm-rmk-cache-flush-optim.patch b/target/linux/ixp4xx/patches-2.6.33/605-arm-rmk-cache-flush-optim.patch
new file mode 100644 (file)
index 0000000..31e0fb5
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/arch/arm/mm/fault-armv.c
++++ b/arch/arm/mm/fault-armv.c
+@@ -127,8 +127,6 @@ make_coherent(struct address_space *mapp
+       flush_dcache_mmap_unlock(mapping);
+       if (aliases)
+               adjust_pte(vma, addr);
+-      else
+-              flush_cache_page(vma, addr, pfn);
+ }
+ /*