]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tracehook_notify_death: use task_detached() helper
authorOleg Nesterov <oleg@redhat.com>
Thu, 2 Apr 2009 23:58:20 +0000 (16:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:05:00 +0000 (19:05 -0700)
commitbb24c679a51b1a9b726b901330649e3861814ac0
tree0acb31023b4b6ff49e173005fb9baaa3f3b74b2f
parent5dfc80be73dd0c212d2e6dd8dbf5afa07e680bbe
tracehook_notify_death: use task_detached() helper

Now that task_detached() is exported, change tracehook_notify_death() to
use this helper, nobody else checks ->exit_signal == -1 by hand.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: "Metzger, Markus T" <markus.t.metzger@intel.com>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/tracehook.h