|
@@ -547,9 +547,9 @@ sys_timer_create(const clockid_t which_clock,
|
|
new_timer->it_process = process;
|
|
new_timer->it_process = process;
|
|
list_add(&new_timer->list,
|
|
list_add(&new_timer->list,
|
|
&process->signal->posix_timers);
|
|
&process->signal->posix_timers);
|
|
- spin_unlock_irqrestore(&process->sighand->siglock, flags);
|
|
|
|
if (new_timer->it_sigev_notify == (SIGEV_SIGNAL|SIGEV_THREAD_ID))
|
|
if (new_timer->it_sigev_notify == (SIGEV_SIGNAL|SIGEV_THREAD_ID))
|
|
get_task_struct(process);
|
|
get_task_struct(process);
|
|
|
|
+ spin_unlock_irqrestore(&process->sighand->siglock, flags);
|
|
} else {
|
|
} else {
|
|
spin_unlock_irqrestore(&process->sighand->siglock, flags);
|
|
spin_unlock_irqrestore(&process->sighand->siglock, flags);
|
|
process = NULL;
|
|
process = NULL;
|