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:
parent
91c945a2e8
commit
ba9b829372
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue