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

This commit is contained in:
fangjianzhou
2024-02-20 18:25:37 -05:00
committed by GitHub
parent fd4e390d10
commit 66e3faa71f
+1 -1
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: