aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/interrupts
diff options
context:
space:
mode:
authorMarvin Borner2020-05-11 22:45:08 +0200
committerMarvin Borner2020-05-11 22:45:08 +0200
commitfe4280eb69fbeb386b5442b3aeb515dde1c117ec (patch)
tree5837a5af36629ddad0215c248f30cd8ce6bb385c /src/kernel/interrupts
parent9b959a402f1998a9c608b917034cae81bd03b088 (diff)
Some scheduling improvements
And other stuff..
Diffstat (limited to 'src/kernel/interrupts')
-rw-r--r--src/kernel/interrupts/isr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/interrupts/isr.c b/src/kernel/interrupts/isr.c
index b24529f..8bfb7bd 100644
--- a/src/kernel/interrupts/isr.c
+++ b/src/kernel/interrupts/isr.c
@@ -129,7 +129,7 @@ void fault_handler(struct regs *r)
warn("%s: Halting process %d", message, current_proc->pid);
memcpy(&current_proc->registers, r, sizeof(struct regs));
process_suspend(current_proc->pid);
- scheduler(r);
+ process_force_switch(r);
} else {
if (faulting_address != (u32)fb) {
panic("Page fault before multitasking started!");