]> Pileus Git - ~andy/linux/commit
x86: ioapic: Avoid redundant lookup of irq_cfg
authorThomas Gleixner <tglx@linutronix.de>
Sat, 12 Mar 2011 12:47:18 +0000 (13:47 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 12 Mar 2011 13:12:01 +0000 (14:12 +0100)
commit1a0e62a49ad417712cfa79a395f6c39f67aadb44
tree3223091d3a52a5ddf1804f5ac016ac83328a0399
parent08221110e88ae101acf2464154f98e6d1b1ab21c
x86: ioapic: Avoid redundant lookup of irq_cfg

The caller of ioapic_register_intr() has a pointer to the irq_cfg for
the irq already. Hand it in to avoid a full lookup.

In msi_compose_msg() the pointer to irq_cfg is already available. No
need to look it up again.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic/io_apic.c