]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/pid.h
sched: prevent wakeup over-scheduling
[linux-2.6-omap-h63xx.git] / include / linux / pid.h
index 2ac27f9997dd99b00324cb50419b13d2e1b0b139..1e0e4e3423a628a7983520762b7364038fbbe628 100644 (file)
@@ -51,6 +51,8 @@ struct pid
        struct rcu_head rcu;
 };
 
+extern struct pid init_struct_pid;
+
 struct pid_link
 {
        struct hlist_node node;
@@ -76,8 +78,7 @@ extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type);
  * write-held.
  */
 extern int FASTCALL(attach_pid(struct task_struct *task,
-                               enum pid_type type, int nr));
-
+                               enum pid_type type, struct pid *pid));
 extern void FASTCALL(detach_pid(struct task_struct *task, enum pid_type));
 extern void FASTCALL(transfer_pid(struct task_struct *old,
                                  struct task_struct *new, enum pid_type));