Skip to content

Commit de099d8

Browse files
polarvidmysterywolf
authored andcommitted
[libcpu/rv64] fixup for parameter passing on backtrace (#8655)
Signed-off-by: Shell <[email protected]>
1 parent 2c77959 commit de099d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcpu/risc-v/virt64/backtrace.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ rt_err_t rt_hw_backtrace_frame_unwind(rt_thread_t thread, struct rt_hw_backtrace
7676
{
7777
void *lwp = thread->lwp;
7878
void *this_lwp = lwp_self();
79-
if (this_lwp == lwp && rt_hw_mmu_v2p(lwp, fp) != ARCH_MAP_FAILED)
79+
if (this_lwp == lwp && rt_hw_mmu_v2p(((rt_lwp_t)lwp)->aspace, fp) != ARCH_MAP_FAILED)
8080
{
8181
rc = _bt_kaddr(fp, frame);
8282
}

0 commit comments

Comments
 (0)