diff options
author | jhb <jhb@FreeBSD.org> | 2010-11-08 20:35:09 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2010-11-08 20:35:09 +0000 |
commit | bfc0fcbf5e493e04a8ec66e9d8c0b98cbe5db075 (patch) | |
tree | 6c6aa98a717af619eb82b7f2f15c5e0a2c1b1346 /sys/i386/xen | |
parent | dc5dbf87bcf2448420a9cacb5bc705c887318325 (diff) | |
download | FreeBSD-src-bfc0fcbf5e493e04a8ec66e9d8c0b98cbe5db075.zip FreeBSD-src-bfc0fcbf5e493e04a8ec66e9d8c0b98cbe5db075.tar.gz |
Sync the APIC startup sequence with amd64:
- Register APIC enumerators at SI_SUB_TUNABLES - 1 instead of SI_SUB_CPU - 1.
- Probe CPUs at SI_SUB_TUNABLES - 1. This allows i386 to set a truly
accurate mp_maxid value rather than always setting it to MAXCPU - 1.
Diffstat (limited to 'sys/i386/xen')
-rw-r--r-- | sys/i386/xen/mptable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/xen/mptable.c b/sys/i386/xen/mptable.c index fe01cd5..d9942ab 100644 --- a/sys/i386/xen/mptable.c +++ b/sys/i386/xen/mptable.c @@ -109,7 +109,7 @@ mptable_register(void *dummy __unused) apic_register_enumerator(&mptable_enumerator); } -SYSINIT(mptable_register, SI_SUB_CPU - 1, SI_ORDER_FIRST, mptable_register, +SYSINIT(mptable_register, SI_SUB_TUNABLES - 1, SI_ORDER_FIRST, mptable_register, NULL); |