* [PATCH] fix the subarch build again after ACPI breakage
@ 2004-04-02 18:36 James Bottomley
0 siblings, 0 replies; only message in thread
From: James Bottomley @ 2004-04-02 18:36 UTC (permalink / raw)
To: len.brown, Andrew Morton, Linus Torvalds; +Cc: Linux Kernel
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-02 18:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-02 18:36 [PATCH] fix the subarch build again after ACPI breakage James Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox