提交 115a326c 编写于 作者: R Roland McGrath 提交者: Linus Torvalds

tracehook: kerneldoc fix

My last change to tracehook.h made it confuse the kerneldoc parser.
Move the #define's before the comment so it's happy again.
Signed-off-by: NRoland McGrath <roland@redhat.com>
Acked-by: NRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 18f6db95
...@@ -487,6 +487,9 @@ static inline int tracehook_notify_jctl(int notify, int why) ...@@ -487,6 +487,9 @@ static inline int tracehook_notify_jctl(int notify, int why)
return notify || (current->ptrace & PT_PTRACED); return notify || (current->ptrace & PT_PTRACED);
} }
#define DEATH_REAP -1
#define DEATH_DELAYED_GROUP_LEADER -2
/** /**
* tracehook_notify_death - task is dead, ready to notify parent * tracehook_notify_death - task is dead, ready to notify parent
* @task: @current task now exiting * @task: @current task now exiting
...@@ -501,8 +504,6 @@ static inline int tracehook_notify_jctl(int notify, int why) ...@@ -501,8 +504,6 @@ static inline int tracehook_notify_jctl(int notify, int why)
* *
* Called with write_lock_irq(&tasklist_lock) held. * Called with write_lock_irq(&tasklist_lock) held.
*/ */
#define DEATH_REAP -1
#define DEATH_DELAYED_GROUP_LEADER -2
static inline int tracehook_notify_death(struct task_struct *task, static inline int tracehook_notify_death(struct task_struct *task,
void **death_cookie, int group_dead) void **death_cookie, int group_dead)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册