From ba0e657c5cb0a8c490b48846fb2a9ef7f020c081 Mon Sep 17 00:00:00 2001 From: Oleg Nesterov Date: Wed, 22 Aug 2007 14:01:37 -0700 Subject: [PATCH] --- yaml --- r: 64248 b: refs/heads/master c: d02479bdeb1c9b037892061cdcf4e730183391fa h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/kernel/posix-timers.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 96b294c90246..bde35bfafc82 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 179394af7a2baa1d0a3cb1670075310d72247d38 +refs/heads/master: d02479bdeb1c9b037892061cdcf4e730183391fa diff --git a/trunk/kernel/posix-timers.c b/trunk/kernel/posix-timers.c index 6923ad8a5983..7a15afb73ed0 100644 --- a/trunk/kernel/posix-timers.c +++ b/trunk/kernel/posix-timers.c @@ -547,9 +547,9 @@ sys_timer_create(const clockid_t which_clock, new_timer->it_process = process; list_add(&new_timer->list, &process->signal->posix_timers); - spin_unlock_irqrestore(&process->sighand->siglock, flags); if (new_timer->it_sigev_notify == (SIGEV_SIGNAL|SIGEV_THREAD_ID)) get_task_struct(process); + spin_unlock_irqrestore(&process->sighand->siglock, flags); } else { spin_unlock_irqrestore(&process->sighand->siglock, flags); process = NULL;