Skip to contentSkip to conversation

do_fork fixes for voyager x86 subarch

PATCH New James Bottomley 1 participant 1 message May 20, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 do_fork fixes for voyager x86 subarch

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 =====

arch/i386/mach-voyager/voyager_smp.c +2 -0
@@ -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;