]> git.neil.brown.name Git - history.git/commitdiff
Fixed the non-SMP build.
authorJeff Dike <jdike@uml.karaya.com>
Mon, 14 Oct 2002 14:51:59 +0000 (10:51 -0400)
committerJeff Dike <jdike@uml.karaya.com>
Mon, 14 Oct 2002 14:51:59 +0000 (10:51 -0400)
arch/um/kernel/process_kern.c

index 4e48f8ab3f8ab30ab604a8771d4a617eacc6a94c..9739b433326dea27b5112fe99b06f5b83a032245 100644 (file)
@@ -318,8 +318,10 @@ void finish_fork_handler(int sig)
 {
        current->thread.regs.regs.sc = (void *) (&sig + 1);
        suspend_new_thread(current->thread.switch_pipe[0]);
-       
+
+#ifdef CONFIG_SMP      
        schedule_tail(NULL);
+#endif
        enable_timer();
        change_sig(SIGVTALRM, 1);
        force_flush_all();