summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2020-03-06 15:50:00 +0200
committerAndreas Kling <kling@serenityos.org>2020-03-24 16:15:33 +0100
commitf7b207c7ae92c756c0243dd5c093e5f48b865dba (patch)
tree2723a8c08b705bb63a0d4535916c5b132f3c66b6
parent1bc7ba8df8be18df4e1446e879c943ffa8682bbb (diff)
downloadserenity-f7b207c7ae92c756c0243dd5c093e5f48b865dba.zip
CPU: Move EOI call to the end of handle_interrupt()
-rw-r--r--Kernel/Arch/i386/CPU.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Arch/i386/CPU.cpp b/Kernel/Arch/i386/CPU.cpp
index f0b92fd44b..fca0685c91 100644
--- a/Kernel/Arch/i386/CPU.cpp
+++ b/Kernel/Arch/i386/CPU.cpp
@@ -655,8 +655,8 @@ void handle_interrupt(RegisterState regs)
ASSERT(s_interrupt_handler[irq]);
s_interrupt_handler[irq]->handle_interrupt(regs);
s_interrupt_handler[irq]->increment_invoking_counter();
- s_interrupt_handler[irq]->eoi();
--g_in_irq;
+ s_interrupt_handler[irq]->eoi();
}
void sse_init()