From f7b207c7ae92c756c0243dd5c093e5f48b865dba Mon Sep 17 00:00:00 2001 From: Liav A Date: Fri, 6 Mar 2020 15:50:00 +0200 Subject: CPU: Move EOI call to the end of handle_interrupt() --- Kernel/Arch/i386/CPU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Arch') 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() -- cgit v1.2.3