aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-16 00:13:02 -0400
committerIan Moffett <ian@osmora.org>2024-05-16 00:13:02 -0400
commit4d82697cc521c42cfd51bf8d617802c698ce5e31 (patch)
tree2feafbb29eb67550ddd0d46426fae7c7ec767eeb /sys/kern/kern_exec.c
parent84da00bbc2bb8a93507179a404dfc91c630c6e96 (diff)
kernel: sched: Move loader code away from sched
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 0386ffd..c76179a 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -118,7 +118,7 @@ exec_set_stack(struct proc *td, struct exec_args args)
stack_range = &td->addr_range[ADDR_RANGE_STACK];
stack_top = stack_range->start + (PROC_STACK_SIZE);
- sp = sched_init_stack((void *)stack_top, args);
+ sp = loader_init_stack((void *)stack_top, args);
return sp;
}