Skip to content

Commit

Permalink
[PATCH] sched: fix a kerneldoc error on is_init()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Henne authored and Linus Torvalds committed Oct 6, 2006
1 parent 1662d32 commit 3260259
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 3260259

Please sign in to comment.