diff options
Diffstat (limited to 'arch/riscv/kernel/proc.c')
| -rw-r--r-- | arch/riscv/kernel/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kernel/proc.c b/arch/riscv/kernel/proc.c index 6d351bc..57ddc5b 100644 --- a/arch/riscv/kernel/proc.c +++ b/arch/riscv/kernel/proc.c @@ -5,7 +5,7 @@ void jump_to_userspace(struct tcb *t, vm_t bin, int argc, char **argv) { csr_write(CSR_SEPC, prepare_proc(t, bin)); - __asm__("mv sp, %0\n" : "=r" (t->stack) :: "memory"); + __asm__("mv sp, %0\n" : "=r" (t->proc_stack) :: "memory"); __asm__("sret\n" ::: "memory"); } |
