Skip to content

Commit

Permalink
PFU: do not cause execution of any instructions to be trapped
Browse files Browse the repository at this point in the history
Signed-off-by: lipengfei28 <[email protected]>
  • Loading branch information
lipengfei28 committed Oct 11, 2024
1 parent 976c417 commit 4c8dfd0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/arm64/src/common/arm64_fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ void arm64_fork_fpureg_save(struct fork_s *context)
{
irqstate_t flags;

arm64_fpu_disable();

/* Take a snapshot of the thread fpu reg context right now */

flags = enter_critical_section();
Expand All @@ -69,7 +67,6 @@ void arm64_fork_fpureg_save(struct fork_s *context)
ARM64_DSB();

leave_critical_section(flags);
arm64_fpu_enable();
}

#endif
Expand Down

0 comments on commit 4c8dfd0

Please sign in to comment.