aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-4.1/310-no_highpage.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm47xx/patches-4.1/310-no_highpage.patch')
-rw-r--r--target/linux/brcm47xx/patches-4.1/310-no_highpage.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-4.1/310-no_highpage.patch b/target/linux/brcm47xx/patches-4.1/310-no_highpage.patch
index 5598aaedac..91b6ab5994 100644
--- a/target/linux/brcm47xx/patches-4.1/310-no_highpage.patch
+++ b/target/linux/brcm47xx/patches-4.1/310-no_highpage.patch
@@ -1,3 +1,13 @@
+From: Jeff Hansen <jhansen@cardaccess-inc.com>
+Subject: [PATCH] no highpage
+
+On ASUS WL-500gP there are many unexpected "Segmentation fault"s that
+seem to be caused by a kernel. They can be avoided by:
+1) Disabling highpage
+2) Using flush_cache_mm in flush_cache_dup_mm
+
+For details see OpenWrt ticket #2035 https://dev.openwrt.org/ticket/2035
+---
--- a/arch/mips/include/asm/page.h
+++ b/arch/mips/include/asm/page.h
@@ -71,6 +71,7 @@ static inline unsigned int page_size_ftl