aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/interrupts/isr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/interrupts/isr.c')
-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!");