aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/interrupts
diff options
context:
space:
mode:
authorMarvin Borner2020-05-12 16:24:11 +0200
committerMarvin Borner2020-05-12 16:24:11 +0200
commitbbaf93b7c8cc551d0b4b898163c60caaa0f9a279 (patch)
tree858aa2cdcf529877b24e18c6557731d94e66adbc /src/kernel/interrupts
parentfa5aa82470783d20621f3d21e419f5b8ce70ad0a (diff)
Fixed page fault in scheduler
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 1ad5f67..66a2a38 100644
--- a/src/kernel/interrupts/isr.c
+++ b/src/kernel/interrupts/isr.c
@@ -130,7 +130,7 @@ void fault_handler(struct regs *r)
current_proc->pid);
memcpy(&current_proc->registers, r, sizeof(struct regs));
process_suspend(current_proc->pid);
- process_force_switch(r);
+ process_force_switch();
} else {
if (faulting_address != (u32)fb) {
panic("Page fault before multitasking started!");