Skip to content

Commit

Permalink
tracehook: kerneldoc fix
Browse files Browse the repository at this point in the history
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: Roland McGrath <roland@redhat.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Roland McGrath authored and Linus Torvalds committed Aug 5, 2008
1 parent 18f6db9 commit 115a326
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/linux/tracehook.h
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,9 @@ static inline int tracehook_notify_jctl(int notify, int why)
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
* @task: @current task now exiting
Expand All @@ -501,8 +504,6 @@ static inline int tracehook_notify_jctl(int notify, int why)
*
* 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,
void **death_cookie, int group_dead)
{
Expand Down

0 comments on commit 115a326

Please sign in to comment.