diff options
| author | Shell <[email protected]> | 2024-03-21 20:23:36 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2024-04-16 22:24:47 -0400 |
| commit | de099d82225040060d2ffeaa3f68bf596b607f9a (patch) | |
| tree | e33d14c74efe7b58bfdafacfd61b45b3c4521456 /libcpu | |
| parent | 2c77959ac538975017ba3d996ef6949e4549763a (diff) | |
[libcpu/rv64] fixup for parameter passing on backtrace (#8655)
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/risc-v/virt64/backtrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/risc-v/virt64/backtrace.c b/libcpu/risc-v/virt64/backtrace.c index 47c8956936..47eba3fb94 100644 --- a/libcpu/risc-v/virt64/backtrace.c +++ b/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 { void *lwp = thread->lwp; void *this_lwp = lwp_self(); - 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) { rc = _bt_kaddr(fp, frame); } |
