diff options
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r-- | sys/kern/subr_smp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index d5bfeeb..aa6adb9 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); |