lkml.org 
[lkml]   [2003]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] do_fork fixes for voyager x86 subarch
From
Date


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;
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.081 / U:0.608 seconds]
©2003-2014 Jasper Spaans. Advertise on this site