[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
@@ -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