[PATCH] do_fork fixes for voyager x86 subarch

James Bottomley (James.Bottomley@steeleye.com)
20 May 2003 12:45:12 -0500


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-30652-1053452761-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

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

--=_courier-30652-1053452761-0001-2
Content-Type: text/plain; name="tmp.diff"; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=tmp.diff

=3D=3D=3D=3D=3D arch/i386/mach-voyager/voyager_smp.c 1.13 vs edited =3D=3D=
=3D=3D=3D
--- 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);
=20
+ wake_up_forked_process(idle);
+
init_idle(idle, cpu);
=20
idle->thread.eip =3D (unsigned long) start_secondary;

--=_courier-30652-1053452761-0001-2--