[libcpu] 修复当开启 RT_USING_SMP ,并且 RT_CPUS_NR = 1 时编译报错问题

This commit is contained in:
fangjianzhou 2024-02-21 07:25:37 +08:00 committed by GitHub
parent fd4e390d10
commit 66e3faa71f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -325,8 +325,8 @@ enable_mmu_early:
.cpus_stack:
#if defined(RT_USING_SMP) && RT_CPUS_NR > 1
.space (ARCH_SECONDARY_CPU_STACK_SIZE * (RT_CPUS_NR - 1))
.secondary_cpu_stack_top:
#endif
.secondary_cpu_stack_top:
.space ARCH_SECONDARY_CPU_STACK_SIZE
.boot_cpu_stack_top: