aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-26 19:54:48 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-26 19:54:48 +0300
commit1b5a553194f47066d60bb1c9475af1f413af8f4a (patch)
tree05991354207a634d8f48d72a4756a26f40483e33 /arch/riscv64
parentf81cad34c0e29384a393bf3aa25dbce3d5962c53 (diff)
downloadkmi-1b5a553194f47066d60bb1c9475af1f413af8f4a.tar.gz
kmi-1b5a553194f47066d60bb1c9475af1f413af8f4a.zip
make sys_create() better + test
Diffstat (limited to 'arch/riscv64')
-rw-r--r--arch/riscv64/kernel/smp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/riscv64/kernel/smp.c b/arch/riscv64/kernel/smp.c
index 425d3ce..acb5f04 100644
--- a/arch/riscv64/kernel/smp.c
+++ b/arch/riscv64/kernel/smp.c
@@ -142,7 +142,6 @@ __noreturn void core_bringup(long hartid)
alloc_stack(t);
/* init is special in that all threads jump to the entrypoint of the
* program */
- t->callback = init->callback;
t->exec = init->exec;
t->cpu_id = cpuid;
/** @todo this is pretty hacky, should really be a separate function? */