i386: Always set LINTEN for AMD CPUs if their family >= 0xF
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 19 Dec 2011 11:33:30 +0000 (19:33 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 19 Dec 2011 11:38:15 +0000 (19:38 +0800)
commitd54b8204947bb8a83fa3d2c7f1b595e47f3802c2
tree819ed7b3f99bb1ba51883843978e317d29baa62b
parentd342e161fec9649aba79a4d28e01da9cfa029632
i386: Always set LINTEN for AMD CPUs if their family >= 0xF

Since LINTEN will take effect when LAPIC is hardware enabled,
so we defer the LINTEN turning on when we know LAPIC will be
software enabled.

This fixes the recent MI per-cpu interrupt information array
support on AMD CPUs when IOAPIC is disabled on SMP system.
sys/platform/pc32/apic/lapic.c
sys/platform/pc32/i386/initcpu.c