diff options
Diffstat (limited to 'lib/arch/riscv64')
-rw-r--r-- | lib/arch/riscv64/thread_create.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arch/riscv64/thread_create.s b/lib/arch/riscv64/thread_create.s index 68c09cd..df3a958 100644 --- a/lib/arch/riscv64/thread_create.s +++ b/lib/arch/riscv64/thread_create.s @@ -8,9 +8,9 @@ thread_create: .cfi_startproc ld a0, 8(sp) - ld x5, 0(sp) + ld t0, 0(sp) - jalr x5 + jalr t0 # FIXME: no return from thread after user fn finished. 1: |