[PATCH] tracehook: kerneldoc fix

Previous thread: [PATCH RFC] pm_qos_requirement might sleep by John Kacur on Monday, August 4, 2008 - 4:52 pm. (22 messages)

Next thread: [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning by Eric Paris on Monday, August 4, 2008 - 5:00 pm. (195 messages)
To: Andrew Morton <akpm@...>, Linus Torvalds <torvalds@...>
Cc: <linux-kernel@...>
Date: Monday, August 4, 2008 - 4:56 pm

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>
---
include/linux/tracehook.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/linux/tracehook.h b/include/linux/tracehook.h
index 1253283..ab3ef7a 100644
--- a/include/linux/tracehook.h
+++ b/include/linux/tracehook.h
@@ -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
@@ -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)
{
--

To: Roland McGrath <roland@...>
Cc: Andrew Morton <akpm@...>, Linus Torvalds <torvalds@...>, <linux-kernel@...>
Date: Monday, August 4, 2008 - 5:00 pm

---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
--

Previous thread: [PATCH RFC] pm_qos_requirement might sleep by John Kacur on Monday, August 4, 2008 - 4:52 pm. (22 messages)

Next thread: [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning by Eric Paris on Monday, August 4, 2008 - 5:00 pm. (195 messages)