xtensa_backtrace: fix typ error

N/A

Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
This commit is contained in:
zhuyanlin 2021-11-15 17:43:50 +08:00 committed by Xiang Xiao
parent 1799994f2c
commit 0e002af323
1 changed files with 3 additions and 3 deletions

View File

@ -234,9 +234,9 @@ int up_backtrace(struct tcb_s *tcb, void **buffer, int size)
#endif
xtensa_window_spill();
ret = bactrace_stack((void *)istackbase,
(void *)((uint32_t)&g_intstackalloc +
CONFIG_ARCH_INTERRUPTSTACK),
ret = backtrace_stack((void *)istackbase,
(void *)(istackbase +
CONFIG_ARCH_INTERRUPTSTACK),
(void *)up_getsp(), NULL, buffer, size);
#else
ret = backtrace_stack(rtcb->stack_base_ptr,