diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-10-12 10:50:47 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2013-10-12 10:50:47 +0000 |
commit | 06382c5b15e18d75cc27646fd942036c9f19ee5a (patch) | |
tree | ef00452ec4da707333f6c53d29cfc06529ef1316 /target/linux/ar7/patches-3.9/200-free-mem-below-kernel-offset.patch | |
parent | 5ba5efcd9b3bd3d80df3edfe0af7e7686b7da272 (diff) | |
download | upstream-06382c5b15e18d75cc27646fd942036c9f19ee5a.tar.gz upstream-06382c5b15e18d75cc27646fd942036c9f19ee5a.tar.bz2 upstream-06382c5b15e18d75cc27646fd942036c9f19ee5a.zip |
ar7: drop linux 3.9 support
Linux 3.9 is EOL since quite a while, no need to keep support for it.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 38370
Diffstat (limited to 'target/linux/ar7/patches-3.9/200-free-mem-below-kernel-offset.patch')
-rw-r--r-- | target/linux/ar7/patches-3.9/200-free-mem-below-kernel-offset.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/target/linux/ar7/patches-3.9/200-free-mem-below-kernel-offset.patch b/target/linux/ar7/patches-3.9/200-free-mem-below-kernel-offset.patch deleted file mode 100644 index 399822a1ca..0000000000 --- a/target/linux/ar7/patches-3.9/200-free-mem-below-kernel-offset.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/arch/mips/ar7/memory.c -+++ b/arch/mips/ar7/memory.c -@@ -67,5 +67,11 @@ void __init prom_meminit(void) - - void __init prom_free_prom_memory(void) - { -- /* Nothing to free */ -+ /* adapted from arch/mips/txx9/generic/setup.c */ -+ unsigned long saddr = PHYS_OFFSET + PAGE_SIZE; -+ unsigned long eaddr = __pa_symbol(&_text); -+ -+ /* free memory between prom-record and kernel _text base */ -+ if (saddr < eaddr) -+ free_init_pages("prom memory", saddr, eaddr); - } |