]> git.baikalelectronics.ru Git - kernel.git/commit
fix maxcpus=N parsing
authorHugh Dickins <hugh@veritas.com>
Mon, 27 Aug 2007 15:02:12 +0000 (16:02 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 27 Aug 2007 17:27:48 +0000 (10:27 -0700)
commitc1b55ba21086cf6ea1019c83e67977d3f9d03ad2
treed417127b47e1d1f7e8ebe1b09a11a4fa5c36fba1
parente01867cbab590cde57afa84382d7fb8fcef7c78f
fix maxcpus=N parsing

Commit 70f1331c962ea7ac22a3809887aa82e83ec4522a ('ACPI: boot correctly
with "nosmp" or "maxcpus=0"') broke 'maxcpus=' handling on x86[-64].

maxcpus=N is now having no effect on x86_64, and freezing bootup on i386
(because of inconsistency with the separate maxcpus parsing down in
arch/i386, I guess).  That's because early_param parsing is a little
different from __setup parsing, and needs the "=" omitted: then it seems
to work as the original commit intended (no mention of IO-APIC in
/proc/interrupts when maxcpus=0).

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Len Brown <len.brown@intel.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/main.c