Browse Source

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

fangjianzhou 1 year ago
parent
commit
66e3faa71f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libcpu/aarch64/cortex-a/entry_point.S

+ 1 - 1
libcpu/aarch64/cortex-a/entry_point.S

@@ -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: