X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-3.7%2F950-vm_exports.patch;h=d72f132d63377e28d4e391711a7528ea47fc62cc;hb=0c023a56eec037f0b53da0b5b871c3cc292e19ad;hp=f1bf3e8a5b841aa6a91eee06e400c0115775cd21;hpb=13869cb6d3c2e967fa78ed38aa17fc7fa823b848;p=openwrt.git diff --git a/target/linux/generic/patches-3.7/950-vm_exports.patch b/target/linux/generic/patches-3.7/950-vm_exports.patch index f1bf3e8a5b..d72f132d63 100644 --- a/target/linux/generic/patches-3.7/950-vm_exports.patch +++ b/target/linux/generic/patches-3.7/950-vm_exports.patch @@ -1,6 +1,6 @@ --- a/mm/shmem.c +++ b/mm/shmem.c -@@ -2775,6 +2775,15 @@ EXPORT_SYMBOL_GPL(shmem_truncate_range); +@@ -2781,6 +2781,15 @@ EXPORT_SYMBOL_GPL(shmem_truncate_range); /* common code */ @@ -16,7 +16,7 @@ /** * shmem_file_setup - get an unlinked file living in tmpfs * @name: name for dentry (to be seen in /proc//maps -@@ -2851,11 +2860,8 @@ int shmem_zero_setup(struct vm_area_stru +@@ -2857,11 +2866,8 @@ int shmem_zero_setup(struct vm_area_stru file = shmem_file_setup("dev/zero", size, vma->vm_flags); if (IS_ERR(file)) return PTR_ERR(file); @@ -59,7 +59,7 @@ * When we die, we re-parent all our children, and try to: --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -3565,6 +3565,7 @@ int can_nice(const struct task_struct *p +@@ -3566,6 +3566,7 @@ int can_nice(const struct task_struct *p return (nice_rlim <= task_rlimit(p, RLIMIT_NICE) || capable(CAP_SYS_NICE)); }