aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 166144c04ef6..ce5a27304b03 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1489,6 +1489,11 @@ static inline struct thread_info *task_thread_info(struct task_struct *task)
1489extern struct task_struct *find_task_by_vpid(pid_t nr); 1489extern struct task_struct *find_task_by_vpid(pid_t nr);
1490extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns); 1490extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns);
1491 1491
1492/*
1493 * find a task by its virtual pid and get the task struct
1494 */
1495extern struct task_struct *find_get_task_by_vpid(pid_t nr);
1496
1492extern int wake_up_state(struct task_struct *tsk, unsigned int state); 1497extern int wake_up_state(struct task_struct *tsk, unsigned int state);
1493extern int wake_up_process(struct task_struct *tsk); 1498extern int wake_up_process(struct task_struct *tsk);
1494extern void wake_up_new_task(struct task_struct *tsk); 1499extern void wake_up_new_task(struct task_struct *tsk);