summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenne <henne@nachtwindheim.de>2006-10-06 00:44:01 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-06 08:53:41 -0700
commit3260259f0084e51ce21503b130473b78871e7077 (patch)
treec553cd9d492b5dc11f33cb260da1f31dcd52ed62
parent1662d32cea96a8711bd61094ff090979478f0fd4 (diff)
downloadkernel-crypto-3260259f0084e51ce21503b130473b78871e7077.tar.gz
kernel-crypto-3260259f0084e51ce21503b130473b78871e7077.tar.xz
kernel-crypto-3260259f0084e51ce21503b130473b78871e7077.zip
[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>
-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 331f4502e92..6735c1cf334 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)
{