summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bottomley <james.bottomley@steeleye.com>2003-05-19 22:46:33 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-19 22:46:33 -0700
commit200d702bf5d614bd34d9d27b11dcad74e00aae1d (patch)
tree796cd6f9a74511e1bb528b97330e5a51d4039ec6
parentace40f5723c1aee9cb19456a0ceb49b2885d0940 (diff)
[PATCH] 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.
-rw-r--r--arch/i386/mach-voyager/voyager_smp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/mach-voyager/voyager_smp.c b/arch/i386/mach-voyager/voyager_smp.c
index fa5a684cb8b8..96153339a4dc 100644
--- a/arch/i386/mach-voyager/voyager_smp.c
+++ b/arch/i386/mach-voyager/voyager_smp.c
@@ -593,6 +593,8 @@ do_boot_cpu(__u8 cpu)
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;