X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/100f1cd12e045486973a2f7505572914ecc5febb..0432b2b9b938198359cb9e980a72358278f047bb:/target/linux/generic/patches-3.1/950-vm_exports.patch diff --git a/target/linux/generic/patches-3.1/950-vm_exports.patch b/target/linux/generic/patches-3.1/950-vm_exports.patch index 7b8e08967..59bfbde2f 100644 --- a/target/linux/generic/patches-3.1/950-vm_exports.patch +++ b/target/linux/generic/patches-3.1/950-vm_exports.patch @@ -61,7 +61,7 @@ { --- a/kernel/sched.c +++ b/kernel/sched.c -@@ -4967,6 +4967,7 @@ int can_nice(const struct task_struct *p +@@ -4953,6 +4953,7 @@ int can_nice(const struct task_struct *p return (nice_rlim <= task_rlimit(p, RLIMIT_NICE) || capable(CAP_SYS_NICE)); } @@ -97,7 +97,7 @@ int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages) { -@@ -1347,6 +1348,7 @@ struct vm_struct *get_vm_area(unsigned l +@@ -1369,6 +1370,7 @@ struct vm_struct *get_vm_area(unsigned l return __get_vm_area_node(size, 1, flags, VMALLOC_START, VMALLOC_END, -1, GFP_KERNEL, __builtin_return_address(0)); } @@ -107,7 +107,7 @@ void *caller) --- a/include/linux/mm.h +++ b/include/linux/mm.h -@@ -872,6 +872,7 @@ extern bool skip_free_areas_node(unsigne +@@ -871,6 +871,7 @@ extern bool skip_free_areas_node(unsigne 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);