diff options
Diffstat (limited to 'sys/kern/kern_sched.c')
-rw-r--r-- | sys/kern/kern_sched.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/kern/kern_sched.c b/sys/kern/kern_sched.c index 1b4c987..c073224 100644 --- a/sys/kern/kern_sched.c +++ b/sys/kern/kern_sched.c @@ -457,6 +457,13 @@ sched_context_switch(struct trapframe *tf) sched_oneshot(false); } +uint64_t +sys_exit(struct syscall_args *args) +{ + sched_exit(); + __builtin_unreachable(); +} + void sched_init(void) { |