public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@steeleye.com>
To: tovalds@transmeta.com
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] do_fork fixes for voyager x86 subarch
Date: 20 May 2003 12:45:12 -0500	[thread overview]
Message-ID: <1053452713.1860.75.camel@mulgrave> (raw)

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

                 reply	other threads:[~2003-05-20 17:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1053452713.1860.75.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tovalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox