x86_64: Fix AP count after LAPIC enumeration
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 15 May 2011 05:53:54 +0000 (13:53 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 15 May 2011 05:55:38 +0000 (13:55 +0800)
commit99ddb99501db34324c4afe4f894a77318a02230d
tree954e6334789551c785c3f3b6672f13c5062b0d58
parentcc609d8c617ddf17d7225a628ad0598fb19c203d
x86_64: Fix AP count after LAPIC enumeration

While I'm here, add hw.ap_max to further limit the number of APs to
be activated.
sys/platform/pc64/apic/lapic.c
sys/platform/pc64/x86_64/mptable.c