From 4c8dfd04536783276dd29006f153c46b3e4cba5b Mon Sep 17 00:00:00 2001 From: lipengfei28 Date: Wed, 18 Sep 2024 17:20:56 +0800 Subject: [PATCH] PFU: do not cause execution of any instructions to be trapped Signed-off-by: lipengfei28 --- arch/arm64/src/common/arm64_fork.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/src/common/arm64_fork.c b/arch/arm64/src/common/arm64_fork.c index a23600950cd49..e430926dd804a 100644 --- a/arch/arm64/src/common/arm64_fork.c +++ b/arch/arm64/src/common/arm64_fork.c @@ -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(); @@ -69,7 +67,6 @@ void arm64_fork_fpureg_save(struct fork_s *context) ARM64_DSB(); leave_critical_section(flags); - arm64_fpu_enable(); } #endif