arch: remove nxsched_resume_scheduler in cpustart

Idle thread initialization does not require calling nxsched_resume_scheduler

Co-authored-by: yinshengkai <yinshengkai@xiaomi.com>
Signed-off-by: guoshengyuan1 <guoshengyuan1@xiaomi.com>
This commit is contained in:
guoshengyuan1 2025-09-26 09:10:28 +08:00 committed by GUIDINGLI
parent b2a69ba781
commit 3f55710184
4 changed files with 0 additions and 16 deletions

View file

@ -123,10 +123,6 @@ static void arm64_smp_init_top(void)
sched_note_cpu_started(tcb);
#endif
/* Reset scheduler parameters */
nxsched_resume_scheduler(tcb);
/* core n, idle n */
write_sysreg(0, tpidrro_el0);

View file

@ -86,10 +86,6 @@ void s698pm_cpu_boot(void)
sched_note_cpu_started(this_task());
#endif
/* Reset scheduler parameters */
nxsched_resume_scheduler(this_task());
/* And finally, enable cpu interrupts */
#ifndef CONFIG_SUPPRESS_INTERRUPTS

View file

@ -130,10 +130,6 @@ void IRAM_ATTR xtensa_appcpu_start(void)
g_appcpu_started = true;
/* Reset scheduler parameters */
nxsched_resume_scheduler(tcb);
/* Move CPU0 exception vectors to IRAM */
__asm__ __volatile__ ("wsr %0, vecbase\n"::"r" (_init_start));

View file

@ -129,10 +129,6 @@ void xtensa_appcpu_start(void)
g_appcpu_started = true;
/* Reset scheduler parameters */
nxsched_resume_scheduler(tcb);
/* Move CPU0 exception vectors to IRAM */
__asm__ __volatile__ ("wsr %0, vecbase\n"::"r" (_init_start));