diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-26 16:26:13 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-26 16:26:13 +0000 |
commit | edf06589cc0ad9474b6c17aa84af90a932eaca13 (patch) | |
tree | 24d7f96936770d3e3ee904982008bfcf174acc7e /target/linux/generic/patches-3.8/950-vm_exports.patch | |
parent | 0a3970a70de5376f9a7ddef0c0b68acf9eb8caab (diff) |
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35320 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 2 |
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 c1819b1b88..aae62f2380 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)); } |