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;