kernel: fix ocf patch for kernel 2.6.30

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

SVN-Revision: 27953
This commit is contained in:
Hauke Mehrtens 2011-08-11 09:47:36 +00:00
parent 7304dcad2a
commit 409f8211e1

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