posix-timers: move the initialization of timer->sigq from send to create path
authorOleg Nesterov <oleg@tv-sign.ru>
Mon, 22 Sep 2008 21:42:49 +0000 (14:42 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 24 Sep 2008 13:45:48 +0000 (15:45 +0200)
commit717835d94d3e3d343a302df0a3cb9405887c3e2a
tree52da10bec8843d3869049440776d91cde95b04a4
parent36b2f046000b358b62b9d116cb10a2b1c5be5cbf
posix-timers: move the initialization of timer->sigq from send to create path

posix_timer_event() always populates timer->sigq with the same numbers,
move this code into sys_timer_create().

Note that with this patch we can kill it_sigev_signo and it_sigev_value.

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>
kernel/posix-timers.c