summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenne <henne@nachtwindheim.de>2006-10-06 11:44:01 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-06 19:53:41 +0400
commit3260259f0084e51ce21503b130473b78871e7077 (patch)
treec553cd9d492b5dc11f33cb260da1f31dcd52ed62 /include
parent1662d32cea96a8711bd61094ff090979478f0fd4 (diff)
downloadlinux-3260259f0084e51ce21503b130473b78871e7077.tar.xz
[PATCH] sched: fix a kerneldoc error on is_init()
Fix a kerneldoc warning and reorderd the description for is_init(). Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Cc: "Randy.Dunlap" <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 331f4502e92b..6735c1cf334c 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1065,9 +1065,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)
{