This is an automated email from the ASF dual-hosted git repository.

ligd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 13cbc9bf9d9911cacdfeef5d385ad7d3bdd4154d
Author: guoshengyuan1 <[email protected]>
AuthorDate: Thu Sep 25 19:45:16 2025 +0800

    arm: remove nxsched_resume_scheduler in cpustart
    
    Idle thread initialization does not require calling nxsched_resume_scheduler
    
    Co-authored-by: yinshengkai <[email protected]>
    Signed-off-by: guoshengyuan1 <[email protected]>
---
 arch/arm/src/armv7-a/arm_cpustart.c | 4 ----
 arch/arm/src/armv7-r/arm_cpustart.c | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/arch/arm/src/armv7-a/arm_cpustart.c 
b/arch/arm/src/armv7-a/arm_cpustart.c
index 0ed51528c6d..73b94159e0c 100644
--- a/arch/arm/src/armv7-a/arm_cpustart.c
+++ b/arch/arm/src/armv7-a/arm_cpustart.c
@@ -77,10 +77,6 @@ int arm_start_handler(int irq, void *context, void *arg)
   sched_note_cpu_started(tcb);
 #endif
 
-  /* Reset scheduler parameters */
-
-  nxsched_resume_scheduler(tcb);
-
   UNUSED(tcb);
 
   return OK;
diff --git a/arch/arm/src/armv7-r/arm_cpustart.c 
b/arch/arm/src/armv7-r/arm_cpustart.c
index a1b4accbb29..8fd46cb25fd 100644
--- a/arch/arm/src/armv7-r/arm_cpustart.c
+++ b/arch/arm/src/armv7-r/arm_cpustart.c
@@ -77,10 +77,6 @@ int arm_start_handler(int irq, void *context, void *arg)
   sched_note_cpu_started(tcb);
 #endif
 
-  /* Reset scheduler parameters */
-
-  nxsched_resume_scheduler(tcb);
-
   UNUSED(tcb);
 
   return OK;

Reply via email to