From: Thomas Gleixner Date: Wed, 23 Feb 2011 16:47:41 +0000 (+0100) Subject: x86: ioapic: Implement and use io_apic_setup_irq_pin_once() X-Git-Tag: v2.6.39-rc1~503^2~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=710dcda64369e3f3704a0eee502ce27dbf9fedc1;p=pandora-kernel.git 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: Thomas Gleixner --- Reading git-diff-tree failed