From 30fbafd1118e1ddf9e39d049f50b4e6f1c765fd6 Mon Sep 17 00:00:00 2001 From: Pawel Wieczorkiewicz Date: Thu, 29 Jun 2023 12:47:59 +0200 Subject: [PATCH] smp: enable FPU on each AP Signed-off-by: Pawel Wieczorkiewicz --- smp/smp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/smp/smp.c b/smp/smp.c index 537916fa..47457119 100644 --- a/smp/smp.c +++ b/smp/smp.c @@ -61,6 +61,9 @@ void __noreturn ap_startup(void) { init_timers(cpu); + if (opt_fpu) + enable_fpu(); + run_tasks(cpu); while (true)