From b2978f087f2df226dc877d3c881d1e0df2fbfd41 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 26 Apr 2024 16:43:21 -0400 Subject: kernel: sched: Move sys_exit() from kern_syscall.c Signed-off-by: Ian Moffett --- sys/kern/kern_syscall.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sys/kern/kern_syscall.c') diff --git a/sys/kern/kern_syscall.c b/sys/kern/kern_syscall.c index e892c39..b575346 100644 --- a/sys/kern/kern_syscall.c +++ b/sys/kern/kern_syscall.c @@ -35,13 +35,6 @@ #include #include -__noreturn static uint64_t -sys_exit(struct syscall_args *args) -{ - sched_exit(); - __builtin_unreachable(); -} - uint64_t(*g_syscall_table[__MAX_SYSCALLS])(struct syscall_args *args) = { sys_exit, sys_write, -- cgit v1.2.3