bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2 gnumach] Add missing init_fpu() for APs


From: Damien Zammit
Subject: [PATCH 2/2 gnumach] Add missing init_fpu() for APs
Date: Wed, 15 Feb 2023 09:57:36 +0000

---
 i386/i386/mp_desc.c | 2 ++
 1 file changed, 2 insertions(+)

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);
 }
--
2.34.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]