We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c77959 commit de099d8Copy full SHA for de099d8
libcpu/risc-v/virt64/backtrace.c
@@ -76,7 +76,7 @@ rt_err_t rt_hw_backtrace_frame_unwind(rt_thread_t thread, struct rt_hw_backtrace
76
{
77
void *lwp = thread->lwp;
78
void *this_lwp = lwp_self();
79
- if (this_lwp == lwp && rt_hw_mmu_v2p(lwp, fp) != ARCH_MAP_FAILED)
+ if (this_lwp == lwp && rt_hw_mmu_v2p(((rt_lwp_t)lwp)->aspace, fp) != ARCH_MAP_FAILED)
80
81
rc = _bt_kaddr(fp, frame);
82
}
0 commit comments