summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.8/950-vm_exports.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-26 16:26:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-01-26 16:26:13 +0000
commit8933b918cd6bce2db5a6a5a51513b62672f13069 (patch)
tree6bd79c5e27a84096f2b209d0e108c9a89f88581d /target/linux/generic/patches-3.8/950-vm_exports.patch
parent7809d73fd2b78c65aad0a1e18b06c3a4c0c15a8d (diff)
downloadmtk-20170518-8933b918cd6bce2db5a6a5a51513b62672f13069.zip
mtk-20170518-8933b918cd6bce2db5a6a5a51513b62672f13069.tar.gz
mtk-20170518-8933b918cd6bce2db5a6a5a51513b62672f13069.tar.bz2
kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
in combination with kernel symbol export stripping this significantly reduces the kernel image size SVN-Revision: 35320
Diffstat (limited to 'target/linux/generic/patches-3.8/950-vm_exports.patch')
-rw-r--r--target/linux/generic/patches-3.8/950-vm_exports.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.8/950-vm_exports.patch b/target/linux/generic/patches-3.8/950-vm_exports.patch
index c1819b1..aae62f2 100644
--- a/target/linux/generic/patches-3.8/950-vm_exports.patch
+++ b/target/linux/generic/patches-3.8/950-vm_exports.patch
@@ -52,7 +52,7 @@
* When we die, we re-parent all our children, and try to:
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
-@@ -3633,6 +3633,7 @@ int can_nice(const struct task_struct *p
+@@ -3634,6 +3634,7 @@ int can_nice(const struct task_struct *p
return (nice_rlim <= task_rlimit(p, RLIMIT_NICE) ||
capable(CAP_SYS_NICE));
}