xiaoxiang781216 commented on code in PR #15338: URL: https://github.com/apache/nuttx/pull/15338#discussion_r1898002794
########## arch/arm64/src/common/arm64_cpustart.c: ########## @@ -231,6 +225,14 @@ void arm64_boot_secondary_c_routine(void) arm64_mmu_init(false); #endif + /* We need to confirm that current_task has been initialized. */ + + while (!current_task(this_cpu())); + + /* Init idle task to percpu reg */ + + up_update_task(current_task(this_cpu())); Review Comment: do we need change other arch too -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
