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 92744e3f1556..b161ef8a902e 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1497,6 +1497,11 @@ static inline struct thread_info *task_thread_info(struct task_struct *task)
1497extern struct task_struct *find_task_by_vpid(pid_t nr); 1497extern struct task_struct *find_task_by_vpid(pid_t nr);
1498extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns); 1498extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns);
1499 1499
1500/*
1501 * find a task by its virtual pid and get the task struct
1502 */
1503extern struct task_struct *find_get_task_by_vpid(pid_t nr);
1504
1500extern int wake_up_state(struct task_struct *tsk, unsigned int state); 1505extern int wake_up_state(struct task_struct *tsk, unsigned int state);
1501extern int wake_up_process(struct task_struct *tsk); 1506extern int wake_up_process(struct task_struct *tsk);
1502extern void wake_up_new_task(struct task_struct *tsk); 1507extern void wake_up_new_task(struct task_struct *tsk);