[PATCH] uml: signal initialization cleanup
It turns out that init_new_thread_signals is always called with altstack == 1, so we can eliminate the parameter. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
9914aee827
commit
e64bd13408
@ -177,7 +177,7 @@ int start_uml_skas(void)
|
||||
if(proc_mm)
|
||||
userspace_pid[0] = start_userspace(0);
|
||||
|
||||
init_new_thread_signals(1);
|
||||
init_new_thread_signals();
|
||||
|
||||
init_task.thread.request.u.thread.proc = start_kernel_proc;
|
||||
init_task.thread.request.u.thread.arg = NULL;
|
||||
|
@ -21,7 +21,7 @@
|
||||
static int exec_tramp(void *sig_stack)
|
||||
{
|
||||
init_new_thread_stack(sig_stack, NULL);
|
||||
init_new_thread_signals(1);
|
||||
init_new_thread_signals();
|
||||
os_stop_process(os_getpid());
|
||||
return(0);
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ static void new_thread_handler(int sig)
|
||||
schedule_tail(current->thread.prev_sched);
|
||||
current->thread.prev_sched = NULL;
|
||||
|
||||
init_new_thread_signals(1);
|
||||
init_new_thread_signals();
|
||||
enable_timer();
|
||||
free_page(current->thread.temp_stack);
|
||||
set_cmdline("(kernel thread)");
|
||||
|
Reference in New Issue
Block a user