X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/e2e6a5bb07fd248abf4c35181394395524395295..030341e663f32bc3740a1edf5e2a01c198c979f2:/target/linux/generic/patches-2.6.35/980-vm_exports.patch?ds=inline diff --git a/target/linux/generic/patches-2.6.35/980-vm_exports.patch b/target/linux/generic/patches-2.6.35/980-vm_exports.patch index 392e06a57..8a021e24c 100644 --- a/target/linux/generic/patches-2.6.35/980-vm_exports.patch +++ b/target/linux/generic/patches-2.6.35/980-vm_exports.patch @@ -76,7 +76,7 @@ * macro override instead of weak attribute alias, to workaround --- a/kernel/sched.c +++ b/kernel/sched.c -@@ -4271,6 +4271,7 @@ int can_nice(const struct task_struct *p +@@ -4269,6 +4269,7 @@ int can_nice(const struct task_struct *p return (nice_rlim <= task_rlimit(p, RLIMIT_NICE) || capable(CAP_SYS_NICE)); } @@ -94,7 +94,7 @@ /** * zap_vma_ptes - remove ptes mapping the vma -@@ -2605,6 +2606,7 @@ int vmtruncate_range(struct inode *inode +@@ -2615,6 +2616,7 @@ int vmtruncate_range(struct inode *inode return 0; } @@ -122,7 +122,7 @@ void *caller) --- a/include/linux/mm.h +++ b/include/linux/mm.h -@@ -732,6 +732,7 @@ extern void show_free_areas(void); +@@ -736,6 +736,7 @@ extern void show_free_areas(void); int shmem_lock(struct file *file, int lock, struct user_struct *user); struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags);