X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Flinux%2Fsched.h;h=eafe4a7b8237d902e31eef13aaacd212ea5b84f4;hb=79acbb3ff2d8095b692e1502b9eb2ccec348de26;hp=331f4502e92bb6540f407d2c1d735c693a28edd9;hpb=5a3e3b2230980cf2ce6e5e56b816dde19b993939;p=~andy%2Flinux diff --git a/include/linux/sched.h b/include/linux/sched.h index 331f4502e92..eafe4a7b823 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -466,7 +466,6 @@ struct signal_struct { struct pacct_struct pacct; /* per-process accounting information */ #endif #ifdef CONFIG_TASKSTATS - spinlock_t stats_lock; struct taskstats *stats; #endif }; @@ -1065,9 +1064,10 @@ static inline int pid_alive(struct task_struct *p) } /** - * is_init - check if a task structure is the first user space - * task the kernel created. - * @p: Task structure to be checked. + * is_init - check if a task structure is init + * @tsk: Task structure to be checked. + * + * Check if a task structure is the first user space task the kernel created. */ static inline int is_init(struct task_struct *tsk) {