public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] do_fork fixes for voyager x86 subarch
@ 2003-05-20 17:45 James Bottomley
  0 siblings, 0 replies; only message in thread
From: James Bottomley @ 2003-05-20 17:45 UTC (permalink / raw)
  To: tovalds; +Cc: Linux Kernel

[-- Attachment #1: Type: text/plain, Size: 173 bytes --]



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


[-- Attachment #2: tmp.diff --]
[-- Type: text/plain, Size: 415 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-20 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-20 17:45 [PATCH] do_fork fixes for voyager x86 subarch James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox