From af3243b5d52fcd97a24dfc6e28d8ac4d4c7bfdc3 Mon Sep 17 00:00:00 2001 From: hauke Date: Sun, 18 Apr 2010 18:35:47 +0000 Subject: kernel: refresh patches with 2.6.34-rc4 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20999 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../generic-2.6/patches-2.6.34/980-vm_exports.patch | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'target/linux/generic-2.6/patches-2.6.34/980-vm_exports.patch') diff --git a/target/linux/generic-2.6/patches-2.6.34/980-vm_exports.patch b/target/linux/generic-2.6/patches-2.6.34/980-vm_exports.patch index 39b22150b..6bb410517 100644 --- a/target/linux/generic-2.6/patches-2.6.34/980-vm_exports.patch +++ b/target/linux/generic-2.6/patches-2.6.34/980-vm_exports.patch @@ -48,7 +48,7 @@ { --- a/kernel/exit.c +++ b/kernel/exit.c -@@ -508,6 +508,7 @@ struct files_struct *get_files_struct(st +@@ -514,6 +514,7 @@ struct files_struct *get_files_struct(st return files; } @@ -56,8 +56,8 @@ void put_files_struct(struct files_struct *files) { -@@ -527,6 +528,7 @@ void put_files_struct(struct files_struc - free_fdtable(fdt); +@@ -535,6 +536,7 @@ void put_files_struct(struct files_struc + rcu_read_unlock(); } } +EXPORT_SYMBOL_GPL(put_files_struct); @@ -66,7 +66,7 @@ { --- a/kernel/fork.c +++ b/kernel/fork.c -@@ -169,6 +169,7 @@ void __put_task_struct(struct task_struc +@@ -177,6 +177,7 @@ void __put_task_struct(struct task_struc if (!profile_handoff_task(tsk)) free_task(tsk); } @@ -76,8 +76,8 @@ * macro override instead of weak attribute alias, to workaround --- a/kernel/sched.c +++ b/kernel/sched.c -@@ -6149,6 +6149,7 @@ int can_nice(const struct task_struct *p - return (nice_rlim <= p->signal->rlim[RLIMIT_NICE].rlim_cur || +@@ -4357,6 +4357,7 @@ int can_nice(const struct task_struct *p + return (nice_rlim <= task_rlimit(p, RLIMIT_NICE) || capable(CAP_SYS_NICE)); } +EXPORT_SYMBOL_GPL(can_nice); @@ -86,7 +86,7 @@ --- a/mm/memory.c +++ b/mm/memory.c -@@ -1115,6 +1115,7 @@ unsigned long zap_page_range(struct vm_a +@@ -1203,6 +1203,7 @@ unsigned long zap_page_range(struct vm_a tlb_finish_mmu(tlb, address, end); return end; } @@ -94,7 +94,7 @@ /** * zap_vma_ptes - remove ptes mapping the vma -@@ -2501,6 +2502,7 @@ int vmtruncate_range(struct inode *inode +@@ -2596,6 +2597,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 -@@ -725,6 +725,7 @@ extern void show_free_areas(void); +@@ -728,6 +728,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); @@ -132,7 +132,7 @@ #ifndef CONFIG_MMU --- a/kernel/signal.c +++ b/kernel/signal.c -@@ -1104,6 +1104,7 @@ struct sighand_struct *lock_task_sighand +@@ -1121,6 +1121,7 @@ struct sighand_struct *lock_task_sighand return sighand; } -- cgit v1.2.3