[PATCH] do_fork fixes for voyager x86 subarch

From: James Bottomley (James.Bottomley@steeleye.com)
Date: Tue May 20 2003 - 12:45:12 EST


It looks like the do_fork was converted in voyager_smp.c, but the
addition of wake_up_forked_process() was missed leading to a boot
panic. The attached fixes it.

James


===== arch/i386/mach-voyager/voyager_smp.c 1.13 vs edited =====
--- 1.13/arch/i386/mach-voyager/voyager_smp.c Sun May 18 19:00:00 2003
+++ edited/arch/i386/mach-voyager/voyager_smp.c Tue May 20 10:13:39 2003
@@ -593,6 +593,8 @@
         if(IS_ERR(idle))
                 panic("failed fork for CPU%d", cpu);
 
+ wake_up_forked_process(idle);
+
         init_idle(idle, cpu);
 
         idle->thread.eip = (unsigned long) start_secondary;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:41 EST