Skip to content

Commit 78a6ba6

Browse files
lipengfei28GUIDINGLI
authored andcommitted
PFU: do not cause execution of any instructions to be trapped
Signed-off-by: lipengfei28 <[email protected]>
1 parent 313d6df commit 78a6ba6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/arm64/src/common/arm64_fork.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ void arm64_fork_fpureg_save(struct fork_s *context)
5959
{
6060
irqstate_t flags;
6161

62-
arm64_fpu_disable();
63-
6462
/* Take a snapshot of the thread fpu reg context right now */
6563

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

7169
leave_critical_section(flags);
72-
arm64_fpu_enable();
7370
}
7471

7572
#endif

0 commit comments

Comments
 (0)