summaryrefslogtreecommitdiff
path: root/kernel/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/syscalls.c')
-rw-r--r--kernel/syscalls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/syscalls.c b/kernel/syscalls.c
index 9fc1a7f..083fbf1 100644
--- a/kernel/syscalls.c
+++ b/kernel/syscalls.c
@@ -489,6 +489,7 @@ uint32_t syscall_exit(int status, uint32_t none1, uint32_t none2,int pid)
}
task_exit(pid);
+ __asm__("int $0x81"); // please schedule us away once and for all
return 0;
}