From: hauke Date: Thu, 11 Aug 2011 09:47:36 +0000 (+0000) Subject: kernel: fix ocf patch for kernel 2.6.30 X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/494bc2d39907cabb669d5cb10f59d6110264f854?hp=f574e02f6c373409751b2b8caee2ccbad36c4395 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 --- 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 a2045ab05..2180bda41 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 @@