aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/pid.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/pid.c')
-rw-r--r--kernel/pid.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/pid.c b/kernel/pid.c
index b322cdf401bf..a9ae9f7fb229 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -381,12 +381,6 @@ struct task_struct *find_task_by_pid_type_ns(int type, int nr,
381 381
382EXPORT_SYMBOL(find_task_by_pid_type_ns); 382EXPORT_SYMBOL(find_task_by_pid_type_ns);
383 383
384struct task_struct *find_task_by_pid(pid_t nr)
385{
386 return find_task_by_pid_type_ns(PIDTYPE_PID, nr, &init_pid_ns);
387}
388EXPORT_SYMBOL(find_task_by_pid);
389
390struct task_struct *find_task_by_vpid(pid_t vnr) 384struct task_struct *find_task_by_vpid(pid_t vnr)
391{ 385{
392 return find_task_by_pid_type_ns(PIDTYPE_PID, vnr, 386 return find_task_by_pid_type_ns(PIDTYPE_PID, vnr,