summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx/patches-2.6.33/605-arm-rmk-cache-flush-optim.patch
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-22 14:10:55 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-22 14:10:55 +0000
commit64b6ac3b3d1488c1704f76e9a8999eb65692afd8 (patch)
tree4bbd346373476ec4887007d1edff38603bc09b1f /target/linux/ixp4xx/patches-2.6.33/605-arm-rmk-cache-flush-optim.patch
parent784f7308a0e3cefa2bf7e1819af3f66f892c7cac (diff)
ixp4xx: add Mikael Petterssons patch works for 2.6.33 & 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21879 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.33/605-arm-rmk-cache-flush-optim.patch')
-rw-r--r--target/linux/ixp4xx/patches-2.6.33/605-arm-rmk-cache-flush-optim.patch11
1 files changed, 11 insertions, 0 deletions
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
index 0000000000..31e0fb5319
--- /dev/null
+++ b/target/linux/ixp4xx/patches-2.6.33/605-arm-rmk-cache-flush-optim.patch
@@ -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);
+ }
+
+ /*