]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86, ioapic: Optimize pin_2_irq
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 30 Mar 2010 08:07:13 +0000 (01:07 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 4 May 2010 20:35:08 +0000 (13:35 -0700)
commitd464207c4fdd70c2a0febd4f9c58206fa915bb36
treef0fe275977391a5b7bb7edd839fd15c9b693bd5d
parent7716a5c4ff5f1f3dc5e9edcab125cbf7fceef0af
x86, ioapic: Optimize pin_2_irq

Now that all ioapics have valid gsi_base values use this to
accellerate pin_2_irq.  In the case of acpi this also ensures
that pin_2_irq will compute the same irq value for an ioapic
pin as acpi will.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
LKML-Reference: <1269936436-7039-12-git-send-email-ebiederm@xmission.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/apic/io_apic.c