Skip to content

Commit 9217865

Browse files
authored
[libcpu] fix arm/cortex-a/start_gcc.S (#7515)
1 parent c105486 commit 9217865

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libcpu/arm/cortex-a/start_gcc.S

+1-2
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,9 @@ _rtthread_startup:
210210

211211
.weak rt_asm_cpu_id
212212
rt_asm_cpu_id:
213-
mov r9, lr
214213
mrc p15, 0, r0, c0, c0, 5
215214
and r0, r0, #0xf
216-
mov lr, r9
215+
mov pc, lr
217216

218217
stack_setup:
219218

0 commit comments

Comments
 (0)