aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pid.h')
-rw-r--r--include/linux/pid.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/pid.h b/include/linux/pid.h
index 2ac27f9997dd..1e0e4e3423a6 100644
--- a/include/linux/pid.h
+++ b/include/linux/pid.h
@@ -51,6 +51,8 @@ struct pid
51 struct rcu_head rcu; 51 struct rcu_head rcu;
52}; 52};
53 53
54extern struct pid init_struct_pid;
55
54struct pid_link 56struct pid_link
55{ 57{
56 struct hlist_node node; 58 struct hlist_node node;
@@ -76,8 +78,7 @@ extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type);
76 * write-held. 78 * write-held.
77 */ 79 */
78extern int FASTCALL(attach_pid(struct task_struct *task, 80extern int FASTCALL(attach_pid(struct task_struct *task,
79 enum pid_type type, int nr)); 81 enum pid_type type, struct pid *pid));
80
81extern void FASTCALL(detach_pid(struct task_struct *task, enum pid_type)); 82extern void FASTCALL(detach_pid(struct task_struct *task, enum pid_type));
82extern void FASTCALL(transfer_pid(struct task_struct *old, 83extern void FASTCALL(transfer_pid(struct task_struct *old,
83 struct task_struct *new, enum pid_type)); 84 struct task_struct *new, enum pid_type));