Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 710dcda6 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

x86: ioapic: Implement and use io_apic_setup_irq_pin_once()



io_apic_set_pci_routing() and mp_save_irq() check the pin_programmed
bit before calling io_apic_setup_irq_pin() and set the bit when the
pin was setup.

Move that duplicated code into a separate function and use it.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent b77cf6a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment