Commit 200d702b authored by James Bottomley's avatar James Bottomley Committed by Linus Torvalds

[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.
parent ace40f57
...@@ -593,6 +593,8 @@ do_boot_cpu(__u8 cpu) ...@@ -593,6 +593,8 @@ do_boot_cpu(__u8 cpu)
if(IS_ERR(idle)) if(IS_ERR(idle))
panic("failed fork for CPU%d", cpu); panic("failed fork for CPU%d", cpu);
wake_up_forked_process(idle);
init_idle(idle, cpu); init_idle(idle, cpu);
idle->thread.eip = (unsigned long) start_secondary; idle->thread.eip = (unsigned long) start_secondary;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment