1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

kernel: refresh patches with 2.6.34-rc4

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20999 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke
2010-04-18 18:35:47 +00:00
parent 0fe492d30b
commit af3243b5d5
50 changed files with 204 additions and 204 deletions

View File

@@ -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;
}