diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 182da1550fa..354ef478a80 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1715,8 +1715,6 @@ extern struct pid_namespace init_pid_ns; | |||
1715 | * finds a task by its pid in the specified namespace | 1715 | * finds a task by its pid in the specified namespace |
1716 | * find_task_by_vpid(): | 1716 | * find_task_by_vpid(): |
1717 | * finds a task by its virtual pid | 1717 | * finds a task by its virtual pid |
1718 | * find_task_by_pid(): | ||
1719 | * finds a task by its global pid | ||
1720 | * | 1718 | * |
1721 | * see also find_vpid() etc in include/linux/pid.h | 1719 | * see also find_vpid() etc in include/linux/pid.h |
1722 | */ | 1720 | */ |
@@ -1724,10 +1722,6 @@ extern struct pid_namespace init_pid_ns; | |||
1724 | extern struct task_struct *find_task_by_pid_type_ns(int type, int pid, | 1722 | extern struct task_struct *find_task_by_pid_type_ns(int type, int pid, |
1725 | struct pid_namespace *ns); | 1723 | struct pid_namespace *ns); |
1726 | 1724 | ||
1727 | static inline struct task_struct *__deprecated find_task_by_pid(pid_t nr) | ||
1728 | { | ||
1729 | return find_task_by_pid_type_ns(PIDTYPE_PID, nr, &init_pid_ns); | ||
1730 | } | ||
1731 | extern struct task_struct *find_task_by_vpid(pid_t nr); | 1725 | extern struct task_struct *find_task_by_vpid(pid_t nr); |
1732 | extern struct task_struct *find_task_by_pid_ns(pid_t nr, | 1726 | extern struct task_struct *find_task_by_pid_ns(pid_t nr, |
1733 | struct pid_namespace *ns); | 1727 | struct pid_namespace *ns); |