public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Matt Chapman <matthewc@cse.unsw.edu.au>
To: linux-ia64@vger.kernel.org
Subject: Fix for nosmp (2.6)
Date: Thu, 28 Aug 2003 05:32:59 +0000	[thread overview]
Message-ID: <marc-linux-ia64-106204881928311@msgid-missing> (raw)

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

Patch should be self-explanatory.

Thanks,
Matt


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

--- linux-2.6.0-test4/arch/ia64/kernel/smpboot.c.orig	2003-08-28 13:34:27.000000000 +1000
+++ linux-2.6.0-test4/arch/ia64/kernel/smpboot.c	2003-08-28 15:23:15.000000000 +1000
@@ -534,8 +534,8 @@
 		printk(KERN_INFO "SMP mode deactivated.\n");
 		cpus_clear(cpu_online_map);
 		cpus_clear(phys_cpu_present_map);
-		cpu_set(1, cpu_online_map);
-		cpu_set(1, phys_cpu_present_map);
+		cpu_set(0, cpu_online_map);
+		cpu_set(0, phys_cpu_present_map);
 		return;
 	}
 }

                 reply	other threads:[~2003-08-28  5: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=marc-linux-ia64-106204881928311@msgid-missing \
    --to=matthewc@cse.unsw.edu.au \
    --cc=linux-ia64@vger.kernel.org \
    /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