Skip to content

Commit

Permalink
smp: enable FPU on each AP
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
  • Loading branch information
wipawel committed Jul 21, 2023
1 parent cca49ef commit ea14e05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions smp/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ void __noreturn ap_startup(void) {

init_timers(cpu);

if (opt_fpu)
enable_fpu();

run_tasks(cpu);

while (true)
Expand Down

0 comments on commit ea14e05

Please sign in to comment.