Commit 8472e5ec authored by Jeff Dike's avatar Jeff Dike

Fixed the non-SMP build.

parent 8e4ec7b0
...@@ -318,8 +318,10 @@ void finish_fork_handler(int sig) ...@@ -318,8 +318,10 @@ void finish_fork_handler(int sig)
{ {
current->thread.regs.regs.sc = (void *) (&sig + 1); current->thread.regs.regs.sc = (void *) (&sig + 1);
suspend_new_thread(current->thread.switch_pipe[0]); suspend_new_thread(current->thread.switch_pipe[0]);
#ifdef CONFIG_SMP
schedule_tail(NULL); schedule_tail(NULL);
#endif
enable_timer(); enable_timer();
change_sig(SIGVTALRM, 1); change_sig(SIGVTALRM, 1);
force_flush_all(); force_flush_all();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment