aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches-2.6.33/605-arm-rmk-cache-flush-optim.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-06-22 14:10:55 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-06-22 14:10:55 +0000
commit49a46722488ee4886ea97f070e4920d49d32d788 (patch)
tree4bbd346373476ec4887007d1edff38603bc09b1f /target/linux/ixp4xx/patches-2.6.33/605-arm-rmk-cache-flush-optim.patch
parent7600086eb4fda3e204bac33247b6e06c5355823e (diff)
downloadupstream-49a46722488ee4886ea97f070e4920d49d32d788.tar.gz
upstream-49a46722488ee4886ea97f070e4920d49d32d788.tar.bz2
upstream-49a46722488ee4886ea97f070e4920d49d32d788.zip
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);
+ }
+
+ /*