X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fpid.h;h=c21c7e8124a7bb7bde92937fc37cf0810598d091;hb=63ffa3e456c1a9884a3ebac997d91e3fdae18d78;hp=c7980810eb09d96becad505f2f9349e9a9a56685;hpb=e760e716d47b48caf98da348368fd41b4a9b9e7e;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/pid.h b/include/linux/pid.h index c7980810eb0..c21c7e8124a 100644 --- a/include/linux/pid.h +++ b/include/linux/pid.h @@ -60,7 +60,7 @@ struct pid /* lists of tasks that use this pid */ struct hlist_head tasks[PIDTYPE_MAX]; struct rcu_head rcu; - int level; + unsigned int level; struct upid numbers[1]; }; @@ -89,9 +89,11 @@ extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type); * attach_pid() and detach_pid() must be called with the tasklist_lock * write-held. */ -extern int attach_pid(struct task_struct *task, enum pid_type type, - struct pid *pid); +extern void attach_pid(struct task_struct *task, enum pid_type type, + struct pid *pid); extern void detach_pid(struct task_struct *task, enum pid_type); +extern void change_pid(struct task_struct *task, enum pid_type, + struct pid *pid); extern void transfer_pid(struct task_struct *old, struct task_struct *new, enum pid_type);