diff options
| author | fangjianzhou <[email protected]> | 2024-02-21 07:25:37 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-20 18:25:37 -0500 |
| commit | 66e3faa71f057a94f2cdfc8858b239a0c47706f0 (patch) | |
| tree | 9a531b0a640caa8b8de0eaf842233d6e2309952c /libcpu | |
| parent | fd4e390d1052a48efe245957d51f1c8ada1cacf2 (diff) | |
[libcpu] 修复当开启 RT_USING_SMP ,并且 RT_CPUS_NR = 1 时编译报错问题
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/aarch64/cortex-a/entry_point.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/aarch64/cortex-a/entry_point.S b/libcpu/aarch64/cortex-a/entry_point.S index d68f31a89b..087cac6e7a 100644 --- a/libcpu/aarch64/cortex-a/entry_point.S +++ b/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: |
