Browse Source

[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>
Henne 19 năm trước cách đây
mục cha
commit
3260259f00
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 4 3
      include/linux/sched.h

+ 4 - 3
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)
 static inline int is_init(struct task_struct *tsk)
 {
 {