summaryrefslogtreecommitdiff
path: root/i386/i386/mp_desc.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/mp_desc.c')
-rw-r--r--i386/i386/mp_desc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c
index 4b5a78ea..fa66aa44 100644
--- a/i386/i386/mp_desc.c
+++ b/i386/i386/mp_desc.c
@@ -38,6 +38,7 @@
#include <i386/lock.h>
#include <i386/apic.h>
#include <i386/locore.h>
+#include <i386/fpu.h>
#include <i386/gdt.h>
#include <i386at/idt.h>
#include <i386at/int_init.h>
@@ -258,6 +259,7 @@ cpu_setup(int cpu)
machine_slot[cpu].cpu_subtype = CPU_SUBTYPE_AT386;
machine_slot[cpu].cpu_type = machine_slot[0].cpu_type;
+ init_fpu();
lapic_enable();
cpu_launch_first_thread(THREAD_NULL);
}