kernel: 2.6.30: remove bogus additional find_task_by_vpid export from OCF
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-2.6.30 / 971-ocf_20110720.patch
index 73210a010a18c4fcec8af9954a97295f1b2886f7..3f22153fe01e159daacb9ed933f5f10b0d4120b9 100644 (file)
  extern void get_random_bytes(void *buf, int nbytes);
  void generate_random_uuid(unsigned char uuid_out[16]);
  
---- a/kernel/pid.c
-+++ b/kernel/pid.c
-@@ -383,6 +383,7 @@ struct task_struct *find_task_by_pid_typ
- {
-       return pid_task(find_pid_ns(nr, ns), type);
- }
-+EXPORT_SYMBOL(find_task_by_vpid);
- EXPORT_SYMBOL(find_task_by_pid_type_ns);