Kernel: Don't log spurious interrupts

Some PCs seem to be spamming a lot of int 7
This commit is contained in:
Bananymous 2024-11-21 20:40:29 +02:00
parent 3573656244
commit c7afd46016
1 changed files with 1 additions and 3 deletions

View File

@ -381,9 +381,7 @@ namespace Kernel
Thread::current().save_sse();
if (!InterruptController::get().is_in_service(irq))
dprintln("spurious irq 0x{2H}", irq);
else
if (InterruptController::get().is_in_service(irq))
{
InterruptController::get().eoi(irq);
if (auto* handler = s_interruptables[irq])