]> git.hungrycats.org Git - linux/commitdiff
[PATCH] fix the subarch build again after ACPI breakage
authorJames Bottomley <james.bottomley@steeleye.com>
Fri, 2 Apr 2004 03:09:37 +0000 (19:09 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 2 Apr 2004 03:09:37 +0000 (19:09 -0800)
The patch to check "maxcpus=N" early 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.

arch/i386/kernel/setup.c

index 986a7d2486445aed5a02815ce9fd9e7e2a73b6ee..bcc5b24e5fd2c89295da98d8238c8405ce500d3e 100644 (file)
@@ -560,7 +560,7 @@ static void __init parse_cmdline_early (char ** cmdline_p)
                        }
                }
 
-#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.