X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/e979362991e95a1845cbd1aed1ac07df6455672b..aea832cc6b8f626c9264fc0fd7d294570223b1a2:/target/linux/generic-2.6/patches-2.6.29/980-vm_exports.patch diff --git a/target/linux/generic-2.6/patches-2.6.29/980-vm_exports.patch b/target/linux/generic-2.6/patches-2.6.29/980-vm_exports.patch index bad3af96e..63819ec8e 100644 --- a/target/linux/generic-2.6/patches-2.6.29/980-vm_exports.patch +++ b/target/linux/generic-2.6/patches-2.6.29/980-vm_exports.patch @@ -40,7 +40,7 @@ { --- a/kernel/exit.c +++ b/kernel/exit.c -@@ -521,6 +521,7 @@ struct files_struct *get_files_struct(st +@@ -516,6 +516,7 @@ struct files_struct *get_files_struct(st return files; } @@ -48,7 +48,7 @@ void put_files_struct(struct files_struct *files) { -@@ -540,6 +541,7 @@ void put_files_struct(struct files_struc +@@ -535,6 +536,7 @@ void put_files_struct(struct files_struc free_fdtable(fdt); } } @@ -68,7 +68,7 @@ * macro override instead of weak attribute alias, to workaround --- a/kernel/sched.c +++ b/kernel/sched.c -@@ -5121,6 +5121,7 @@ int can_nice(const struct task_struct *p +@@ -5178,6 +5178,7 @@ int can_nice(const struct task_struct *p return (nice_rlim <= p->signal->rlim[RLIMIT_NICE].rlim_cur || capable(CAP_SYS_NICE)); } @@ -86,7 +86,7 @@ /** * zap_vma_ptes - remove ptes mapping the vma -@@ -2387,6 +2388,7 @@ int vmtruncate_range(struct inode *inode +@@ -2433,6 +2434,7 @@ int vmtruncate_range(struct inode *inode return 0; }