diff options
author | Marvin Borner | 2020-05-11 22:45:08 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-11 22:45:08 +0200 |
commit | fe4280eb69fbeb386b5442b3aeb515dde1c117ec (patch) | |
tree | 5837a5af36629ddad0215c248f30cd8ce6bb385c /src/kernel/interrupts | |
parent | 9b959a402f1998a9c608b917034cae81bd03b088 (diff) |
Some scheduling improvements
And other stuff..
Diffstat (limited to 'src/kernel/interrupts')
-rw-r--r-- | src/kernel/interrupts/isr.c | 2 |
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(¤t_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!"); |