diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-12-29 18:47:16 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-12-29 18:49:28 +0200 |
| commit | 4e5595a089c815febd7a0d42ab62940bf13f73ac (patch) | |
| tree | 322f35d9315e9966de8a66052811858df0144085 /arch/riscv/kernel/proc.c | |
| parent | a12e50e5a7dae52ed8bd5a24cc6576371e20985b (diff) | |
| download | kmi-4e5595a089c815febd7a0d42ab62940bf13f73ac.tar.gz kmi-4e5595a089c815febd7a0d42ab62940bf13f73ac.zip | |
Preparations for refactoring
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"); } |
