[libcpu] 修复当开启 RT_USING_SMP ,并且 RT_CPUS_NR = 1 时编译报错问题
This commit is contained in:
parent
fd4e390d10
commit
66e3faa71f
@ -325,8 +325,8 @@ enable_mmu_early:
|
|||||||
.cpus_stack:
|
.cpus_stack:
|
||||||
#if defined(RT_USING_SMP) && RT_CPUS_NR > 1
|
#if defined(RT_USING_SMP) && RT_CPUS_NR > 1
|
||||||
.space (ARCH_SECONDARY_CPU_STACK_SIZE * (RT_CPUS_NR - 1))
|
.space (ARCH_SECONDARY_CPU_STACK_SIZE * (RT_CPUS_NR - 1))
|
||||||
.secondary_cpu_stack_top:
|
|
||||||
#endif
|
#endif
|
||||||
|
.secondary_cpu_stack_top:
|
||||||
.space ARCH_SECONDARY_CPU_STACK_SIZE
|
.space ARCH_SECONDARY_CPU_STACK_SIZE
|
||||||
.boot_cpu_stack_top:
|
.boot_cpu_stack_top:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user