commit | 918fc0372831dca73039e1577bfea0c2ce49bdb6 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Mon Sep 22 14:42:46 2008 -0700 |
committer | Thomas Gleixner <tglx@linutronix.de> | Wed Sep 24 15:45:47 2008 +0200 |
tree | c8c11b7929fc0f0768109679a3733dd3eb6741c6 | |
parent | 4aa7361179bed905fd0f35b236a5c65db683b9e0 [diff] |
posix-timers: always do get_task_struct(timer->it_process) Change the code to get/put timer->it_process regardless of SIGEV_THREAD_ID. This streamlines the create/destroy paths and allows us to simplify the usage of exit_itimers() in de_thread(). Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: mingo@elte.hu Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>