Serenity Operating System
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Kernel: Reorder bitwise operations when creating PCI interrupt overrides

authored by

Liav A and committed by
Andreas Kling
4d44a3bd e4ad1b92

+1 -1
+1 -1
Kernel/ACPI/MultiProcessorParser.cpp
··· 226 226 , m_polarity(polarity) 227 227 , m_trigger_mode(trigger_mode) 228 228 , m_pci_interrupt_pin(source_irq & 0b11) 229 - , m_pci_device_number((source_irq & 0b11111) >> 2) 229 + , m_pci_device_number((source_irq >> 2) & 0b11111) 230 230 , m_ioapic_id(ioapic_id) 231 231 , m_ioapic_interrupt_pin(ioapic_int_pin) 232 232 {