Commit d75458fb authored by James Bottomley's avatar James Bottomley Committed by Linus Torvalds

[PATCH] fix the subarch build again after ACPI breakage

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.
parent d23a01c0
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment