fix the subarch build again after ACPI breakage
PATCH 1/1 fix the subarch build again after ACPI breakage
This patch:
[email protected], 2004-03-17 00:44:22-05:00, [email protected]
[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 =====
arch/i386/kernel/setup.c +1 -1
@@ -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.