aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.0/941-ocf_20110720.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2011-08-11 09:54:02 +0000
committerHauke Mehrtens <hauke@openwrt.org>2011-08-11 09:54:02 +0000
commit7295e0ed5d7ca2029ffc121c1dd63d9c91e876b6 (patch)
treeb713ac304eb7b13114c6c5f24b010774ce57b99d /target/linux/generic/patches-3.0/941-ocf_20110720.patch
parent0aac127864520f14c5de667fde135037294532f3 (diff)
downloadmaster-187ad058-7295e0ed5d7ca2029ffc121c1dd63d9c91e876b6.tar.gz
master-187ad058-7295e0ed5d7ca2029ffc121c1dd63d9c91e876b6.tar.bz2
master-187ad058-7295e0ed5d7ca2029ffc121c1dd63d9c91e876b6.zip
kernel: revert r27953
KanjiMonster did the right patch, I was just confused because of linux-3.0 and linux-2.6.30 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27954 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.0/941-ocf_20110720.patch')
-rw-r--r--target/linux/generic/patches-3.0/941-ocf_20110720.patch10
1 files changed, 10 insertions, 0 deletions
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 2180bda416..a2045ab059 100644
--- a/target/linux/generic/patches-3.0/941-ocf_20110720.patch
+++ b/target/linux/generic/patches-3.0/941-ocf_20110720.patch
@@ -1,3 +1,13 @@
+--- 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 @@