Commit 115a326c1e5cab457924356123bbfd7d783ecf9d

Authored by Roland McGrath
Committed by Linus Torvalds
1 parent 18f6db95dc

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: Roland McGrath <roland@redhat.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 3 additions and 2 deletions Side-by-side Diff

include/linux/tracehook.h
... ... @@ -487,6 +487,9 @@
487 487 return notify || (current->ptrace & PT_PTRACED);
488 488 }
489 489  
  490 +#define DEATH_REAP -1
  491 +#define DEATH_DELAYED_GROUP_LEADER -2
  492 +
490 493 /**
491 494 * tracehook_notify_death - task is dead, ready to notify parent
492 495 * @task: @current task now exiting
... ... @@ -501,8 +504,6 @@
501 504 *
502 505 * Called with write_lock_irq(&tasklist_lock) held.
503 506 */
504   -#define DEATH_REAP -1
505   -#define DEATH_DELAYED_GROUP_LEADER -2
506 507 static inline int tracehook_notify_death(struct task_struct *task,
507 508 void **death_cookie, int group_dead)
508 509 {