arch/arm: correct the function name from arm_getsp() to up_getsp()

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2021-09-07 16:43:25 +08:00 committed by Xiang Xiao
parent 91c945a2e8
commit ba9b829372
3 changed files with 6 additions and 6 deletions

View File

@ -460,7 +460,7 @@ int up_backtrace(FAR struct tcb_s *tcb, FAR void **buffer, int size)
{
if (up_interrupt_context())
{
sp = (FAR void *)arm_getsp();
sp = (FAR void *)up_getsp();
ret = backtrace_push(rtcb->stack_base_ptr +
rtcb->adj_stack_size,
@ -477,7 +477,7 @@ int up_backtrace(FAR struct tcb_s *tcb, FAR void **buffer, int size)
}
else
{
sp = (FAR void *)arm_getsp();
sp = (FAR void *)up_getsp();
ret = backtrace_push(rtcb->stack_base_ptr +
rtcb->adj_stack_size, &sp,
(FAR void *)up_backtrace + 10,

View File

@ -460,7 +460,7 @@ int up_backtrace(FAR struct tcb_s *tcb, FAR void **buffer, int size)
{
if (up_interrupt_context())
{
sp = (FAR void *)arm_getsp();
sp = (FAR void *)up_getsp();
ret = backtrace_push(rtcb->stack_base_ptr +
rtcb->adj_stack_size,
@ -477,7 +477,7 @@ int up_backtrace(FAR struct tcb_s *tcb, FAR void **buffer, int size)
}
else
{
sp = (FAR void *)arm_getsp();
sp = (FAR void *)up_getsp();
ret = backtrace_push(rtcb->stack_base_ptr +
rtcb->adj_stack_size, &sp,
(FAR void *)up_backtrace + 10,

View File

@ -460,7 +460,7 @@ int up_backtrace(FAR struct tcb_s *tcb, FAR void **buffer, int size)
{
if (up_interrupt_context())
{
sp = (FAR void *)arm_getsp();
sp = (FAR void *)up_getsp();
ret = backtrace_push(rtcb->stack_base_ptr +
rtcb->adj_stack_size,
@ -477,7 +477,7 @@ int up_backtrace(FAR struct tcb_s *tcb, FAR void **buffer, int size)
}
else
{
sp = (FAR void *)arm_getsp();
sp = (FAR void *)up_getsp();
ret = backtrace_push(rtcb->stack_base_ptr +
rtcb->adj_stack_size, &sp,
(FAR void *)up_backtrace + 10,