From: James Bottomley <James.Bottomley@steeleye.com>
To: len.brown@intel.com, Andrew Morton <akpm@osdl.org>,
Linus Torvalds <torvalds@osdl.org>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] fix the subarch build again after ACPI breakage
Date: 02 Apr 2004 13:36:50 -0500 [thread overview]
Message-ID: <1080931012.1804.149.camel@mulgrave> (raw)
This patch:
ChangeSet@1.1608.1.44, 2004-03-17 00:44:22-05:00, len.brown@intel.com
[ACPI] check "maxcpus=N" early -- same as NR_CPUS check.
http://bugzilla.kernel.org/show_bug.cgi?id=2317
Broke by putting maxcpus (a variable which is only exported by
mpparse.c) into parse_cmdline_early().
The fix is to make it depend on the correct CONFIG_ option.
In the subarchitectures:
CONFIG_X86_SMP is the one that means "I want standard x86 smp code" and
that's what this should depend on.
James
===== arch/i386/kernel/setup.c 1.114 vs edited =====
--- 1.114/arch/i386/kernel/setup.c Mon Mar 22 15:03:22 2004
+++ edited/arch/i386/kernel/setup.c Fri Apr 2 12:21:43 2004
@@ -560,7 +560,7 @@
}
}
-#ifdef CONFIG_SMP
+#ifdef CONFIG_X86_SMP
/*
* If the BIOS enumerates physical processors before logical,
* maxcpus=N at enumeration-time can be used to disable HT.
reply other threads:[~2004-04-02 18:37 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=1080931012.1804.149.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=akpm@osdl.org \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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