summaryrefslogtreecommitdiff
path: root/sys/kern/subr_smp.c
diff options
context:
space:
mode:
authorSteve Passe <fsmp@FreeBSD.org>1997-08-24 20:33:32 +0000
committerSteve Passe <fsmp@FreeBSD.org>1997-08-24 20:33:32 +0000
commit8ee0110a449904883ddcc5dea6f61a690bab1d5a (patch)
treebfc6eba8ab9fc00f09414953b3a92b0d3de45645 /sys/kern/subr_smp.c
parent32a73059768ab8a90dbd7bd29c77b610a2a9dcb1 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r--sys/kern/subr_smp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index b02fde7e9c03..7197b67aa563 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.29 1997/08/21 04:53:27 smp Exp smp $
+ * $Id: mp_machdep.c,v 1.30 1997/08/24 20:19:47 smp Exp smp $
*/
#include "opt_smp.h"
@@ -207,6 +207,7 @@ int current_postcode;
/** XXX FIXME: what system files declare these??? */
extern struct region_descriptor r_gdt, r_idt;
+int bsp_apic_ready = 0; /* flags useability of BSP apic */
int mp_ncpus; /* # of CPUs, including BSP */
int mp_naps; /* # of Applications processors */
int mp_nbusses; /* # of busses */
@@ -1480,6 +1481,7 @@ start_all_aps(u_int boot_addr)
/* initialize BSP's local APIC */
apic_initialize();
+ bsp_apic_ready = 1;
/* install the AP 1st level boot code */
install_ap_tramp(boot_addr);