kernel: fix ocf patch for kernel 2.6.30
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 11 Aug 2011 09:47:36 +0000 (09:47 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 11 Aug 2011 09:47:36 +0000 (09:47 +0000)
find_task_by_vpid is already exported by the kernel without any patches needed.

SVN-Revision: 27953

target/linux/generic/patches-3.0/941-ocf_20110720.patch

index a2045ab0590eebd2003094d9d7df4ac52b910b86..2180bda416ae57c762a9d523cb2a15b80ed62aea 100644 (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 @@