diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-02-04 15:23:10 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-02-04 15:23:10 +0000 |
commit | 5c4e7151fbabb20bacc372237dc13598117fab64 (patch) | |
tree | 2228db80941708e1ce07a929ea9fc9096806d27a /target/linux/coldfire/patches/043-workaround-for-zero-page-used-on-ColdFire-platform.patch | |
parent | c398e877022f5e76f06e54d4eb0601f166859062 (diff) | |
download | master-187ad058-5c4e7151fbabb20bacc372237dc13598117fab64.tar.gz master-187ad058-5c4e7151fbabb20bacc372237dc13598117fab64.tar.bz2 master-187ad058-5c4e7151fbabb20bacc372237dc13598117fab64.zip |
coldfire: R.I.P.
The target still uses 2.6.38. The support of that
kernel version has been removed ~9 months ago.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35489 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/coldfire/patches/043-workaround-for-zero-page-used-on-ColdFire-platform.patch')
-rw-r--r-- | target/linux/coldfire/patches/043-workaround-for-zero-page-used-on-ColdFire-platform.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/coldfire/patches/043-workaround-for-zero-page-used-on-ColdFire-platform.patch b/target/linux/coldfire/patches/043-workaround-for-zero-page-used-on-ColdFire-platform.patch deleted file mode 100644 index 0182b096a9..0000000000 --- a/target/linux/coldfire/patches/043-workaround-for-zero-page-used-on-ColdFire-platform.patch +++ /dev/null @@ -1,33 +0,0 @@ -From fa27f3e27863e3f4376864b144dc7506de124cf6 Mon Sep 17 00:00:00 2001 -From: Jason Jin <Jason.jin@freescale.com> -Date: Thu, 4 Aug 2011 09:59:54 +0800 -Subject: [PATCH 43/52] workaround for zero page used on ColdFire platform. - -There is some issue for Coldfire platform to use the -zero page for read when there is memory fault. This is -a workaround for this, try to make kernel to use normal -memory instead. - -Signed-off-by: Jason Jin <Jason.jin@freescale.com> ---- - mm/memory.c | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) - ---- a/mm/memory.c -+++ b/mm/memory.c -@@ -2937,6 +2937,7 @@ static int do_anonymous_page(struct mm_s - if (check_stack_guard_page(vma, address) < 0) - return VM_FAULT_SIGBUS; - -+#ifndef CONFIG_COLDFIRE - /* Use the zero-page for reads */ - if (!(flags & FAULT_FLAG_WRITE)) { - entry = pte_mkspecial(pfn_pte(my_zero_pfn(address), -@@ -2946,6 +2947,7 @@ static int do_anonymous_page(struct mm_s - goto unlock; - goto setpte; - } -+#endif - - /* Allocate our own private page. */ - if (unlikely(anon_vma_prepare(vma))) |