]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/exit.c
exit: add lock context annotation on find_new_reaper()
[net-next-2.6.git] / kernel / exit.c
index 894179a32ec163fe3347f8614626ddf7a9946cb7..b194febf5799bab766e5aef261e566902a086b28 100644 (file)
@@ -703,6 +703,8 @@ static void exit_mm(struct task_struct * tsk)
  * space.
  */
 static struct task_struct *find_new_reaper(struct task_struct *father)
+       __releases(&tasklist_lock)
+       __acquires(&tasklist_lock)
 {
        struct pid_namespace *pid_ns = task_active_pid_ns(father);
        struct task_struct *thread;