ACPI: boot correctly with "nosmp" or "maxcpus=0"
In MPS mode, "nosmp" and "maxcpus=0" boot a UP kernel with IOAPIC disabled. However, in ACPI mode, these parameters didn't completely disable the IO APIC initialization code and boot failed. init/main.c: Disable the IO_APIC if "nosmp" or "maxcpus=0" undefine disable_ioapic_setup() when it doesn't apply. i386: delete ioapic_setup(), it was a duplicate of parse_noapic() delete undefinition of disable_ioapic_setup() x86_64: rename disable_ioapic_setup() to parse_noapic() to match i386 define disable_ioapic_setup() in header to match i386 http://bugzilla.kernel.org/show_bug.cgi?id=1641 Acked-by:Andi Kleen <ak@suse.de> Signed-off-by:
Len Brown <len.brown@intel.com>
Showing
- Documentation/kernel-parameters.txt 6 additions, 9 deletionsDocumentation/kernel-parameters.txt
- arch/i386/kernel/io_apic.c 0 additions, 8 deletionsarch/i386/kernel/io_apic.c
- arch/x86_64/kernel/io_apic.c 3 additions, 5 deletionsarch/x86_64/kernel/io_apic.c
- include/asm-i386/io_apic.h 0 additions, 1 deletioninclude/asm-i386/io_apic.h
- include/asm-x86_64/io_apic.h 6 additions, 0 deletionsinclude/asm-x86_64/io_apic.h
- init/main.c 10 additions, 2 deletionsinit/main.c
Loading
Please register or sign in to comment