1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-08 17:02:56 +03:00

kernel: fix ocf patch for kernel 2.6.30

find_task_by_vpid is already exported by the kernel without any patches needed.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27953 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke 2011-08-11 09:47:36 +00:00
parent f574e02f6c
commit 494bc2d399

View File

@ -1,13 +1,3 @@
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -427,6 +427,7 @@ struct task_struct *find_task_by_vpid(pi
{
return find_task_by_pid_ns(vnr, current->nsproxy->pid_ns);
}
+EXPORT_SYMBOL(find_task_by_vpid);
struct pid *get_task_pid(struct task_struct *task, enum pid_type type)
{
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -130,6 +130,9 @@