Kernel: Reorder bitwise operations when creating PCI interrupt overrides
This commit is contained in:
parent
e4ad1b92fb
commit
4d44a3bdfe
Notes:
sideshowbarker
2024-07-19 07:46:03 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/4d44a3bdfe7 Pull-request: https://github.com/SerenityOS/serenity/pull/1718 Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ PCIInterruptOverrideMetadata::PCIInterruptOverrideMetadata(u8 bus_id, u8 polarit
|
|||
, m_polarity(polarity)
|
||||
, m_trigger_mode(trigger_mode)
|
||||
, m_pci_interrupt_pin(source_irq & 0b11)
|
||||
, m_pci_device_number((source_irq & 0b11111) >> 2)
|
||||
, m_pci_device_number((source_irq >> 2) & 0b11111)
|
||||
, m_ioapic_id(ioapic_id)
|
||||
, m_ioapic_interrupt_pin(ioapic_int_pin)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue