From: Hauke Mehrtens Date: Thu, 11 Aug 2011 09:47:36 +0000 (+0000) Subject: kernel: fix ocf patch for kernel 2.6.30 X-Git-Tag: reboot~16060 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=409f8211e1268a06a7911ad11715f514e16424d2;p=openwrt%2Fstaging%2Fpepe2k.git 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 --- diff --git a/target/linux/generic/patches-3.0/941-ocf_20110720.patch b/target/linux/generic/patches-3.0/941-ocf_20110720.patch index a2045ab059..2180bda416 100644 --- a/target/linux/generic/patches-3.0/941-ocf_20110720.patch +++ b/target/linux/generic/patches-3.0/941-ocf_20110720.patch @@ -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 @@