X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a89d3f1a9b4415a29eb23a7831b2d012f316889c..b2448f1cac4cf9730b1cd7ee4c1a0ce2a433bebe:/target/linux/generic/patches-3.0/950-vm_exports.patch diff --git a/target/linux/generic/patches-3.0/950-vm_exports.patch b/target/linux/generic/patches-3.0/950-vm_exports.patch index 0ba09166c..4be67a3a8 100644 --- a/target/linux/generic/patches-3.0/950-vm_exports.patch +++ b/target/linux/generic/patches-3.0/950-vm_exports.patch @@ -61,7 +61,7 @@ { --- a/kernel/sched.c +++ b/kernel/sched.c -@@ -4905,6 +4905,7 @@ int can_nice(const struct task_struct *p +@@ -4937,6 +4937,7 @@ int can_nice(const struct task_struct *p return (nice_rlim <= task_rlimit(p, RLIMIT_NICE) || capable(CAP_SYS_NICE)); } @@ -71,7 +71,7 @@ --- a/mm/memory.c +++ b/mm/memory.c -@@ -1395,6 +1395,7 @@ unsigned long zap_page_range(struct vm_a +@@ -1396,6 +1396,7 @@ unsigned long zap_page_range(struct vm_a tlb_finish_mmu(&tlb, address, end); return end; } @@ -79,7 +79,7 @@ /** * zap_vma_ptes - remove ptes mapping the vma -@@ -3014,6 +3015,7 @@ static inline int check_stack_guard_page +@@ -3071,6 +3072,7 @@ static inline int check_stack_guard_page } return 0; } @@ -89,7 +89,7 @@ * We enter with non-exclusive mmap_sem (to exclude vma changes, --- a/mm/vmalloc.c +++ b/mm/vmalloc.c -@@ -1245,6 +1245,7 @@ void unmap_kernel_range(unsigned long ad +@@ -1246,6 +1246,7 @@ void unmap_kernel_range(unsigned long ad vunmap_page_range(addr, end); flush_tlb_kernel_range(addr, end); } @@ -97,7 +97,7 @@ int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages) { -@@ -1360,6 +1361,7 @@ struct vm_struct *get_vm_area(unsigned l +@@ -1361,6 +1362,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)); }