kernel - Add APIC_IO conf option back in / make it adjust hw.apic_io_enable
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 22 Nov 2010 21:46:58 +0000 (13:46 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 22 Nov 2010 21:46:58 +0000 (13:46 -0800)
commiteac0bf8f657694490c99aea1977cbe83309047e4
tree87028a428f3f0f36759c575fc443f18fe13cd61a
parentaa1f363092970a87daaa258f83ca0fd6be992888
kernel - Add APIC_IO conf option back in / make it adjust hw.apic_io_enable

* APIC_IO again controls whether a SMP kernel will use the io-apic or not.
  All it does now is adjust the hw.apic_io_enable default value.

  Changing the code to allow apic-io to be soft-selectable was great, but
  removing the kernel config option was not so great.

* SMP Kernels compiled without APIC_IO again default to not using it.  You
  can use APIC_IO either by configuring the kernel with the option or
  by setting hw.apic_io_enable=1 in /boot/loader.conf.

* SMP Kernels compiled with APIC_IO default to using APIC_IO.

* Reduces confusion between 2.8 and 2.9 kernel config files.

* Reduces personal frustrations.
sys/config/GENERIC
sys/config/GENERIC_SMP
sys/config/X86_64_GENERIC
sys/config/X86_64_GENERIC_SMP
sys/platform/pc32/conf/options
sys/platform/pc32/i386/machdep.c
sys/platform/pc64/conf/options
sys/platform/pc64/x86_64/machdep.c