summaryrefslogtreecommitdiff
path: root/sys/kern/subr_smp.c
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>1998-03-07 20:16:49 +0000
committerTor Egge <tegge@FreeBSD.org>1998-03-07 20:16:49 +0000
commit1146c3560f7f853a805922d77b319ce815995dda (patch)
treecfe16af6d0d02853719eb789219d88fb90e2be15 /sys/kern/subr_smp.c
parent1ab7c6cc77d4e6cda48bf53c118f6bdb906b99c3 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r--sys/kern/subr_smp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index d5bfeeb6b061..aa6adb9120d8 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -22,11 +22,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.68 1998/03/03 20:55:25 tegge Exp $
+ * $Id: mp_machdep.c,v 1.69 1998/03/03 22:56:24 tegge Exp $
*/
#include "opt_smp.h"
#include "opt_vm86.h"
+#include "opt_cpu.h"
#ifdef SMP
#include <machine/smptests.h>
@@ -2056,6 +2057,10 @@ ap_init()
smp_cpus++;
+#if defined(I586_CPU) && !defined(NO_F00F_HACK)
+ lidt(&r_idt);
+#endif
+
/* Build our map of 'other' CPUs. */
other_cpus = all_cpus & ~(1 << cpuid);