Kernel: Move handle_interrupt out-of-line in PCIIRQHandler

Upgrade to GCC 13.1.0 triggered an UBSAN in PCIIRQHandler. Moving the
handle_interrupt() function out-of-line fixes this issue.
This commit is contained in:
Pankaj Raghav
2023-05-16 21:37:49 +02:00
committed by Andrew Kaster
parent ff70418ffc
commit d14c2a3583
2 changed files with 6 additions and 1 deletions

View File

@@ -63,4 +63,9 @@ void PCIIRQHandler::disable_irq()
device.disable_interrupt(interrupt_number());
}
bool PCIIRQHandler::handle_interrupt(RegisterState const& regs)
{
return handle_irq(regs);
}
}