summaryrefslogtreecommitdiff
path: root/kernel/exceptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/exceptions.c')
-rw-r--r--kernel/exceptions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/exceptions.c b/kernel/exceptions.c
index 4ad87e8..a69a49e 100644
--- a/kernel/exceptions.c
+++ b/kernel/exceptions.c
@@ -126,6 +126,7 @@ uint32_t exception_handle(uint32_t esp, uint32_t irq)
klog("killing task in question!");
task_syscall(SYSCALL_EXIT,task_get_current_pid(),0,0);
- return scheduler_run(esp,0);
+ scheduler_wake_all();
+ return scheduler_run(esp);
}