summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-01-28 22:42:52 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-08 02:50:07 +0300
commitded86d8d37736df67ddeec4ae00e2ec1a5a90b3c (patch)
tree6a1c175992692ca2db80b34b0df3cb44b1541253 /Makefile
parent8fed4b65236c44d090bd62f2d14938ae791e0260 (diff)
downloadlinux-ded86d8d37736df67ddeec4ae00e2ec1a5a90b3c.tar.xz
msi: Kill msi_lookup_irq
The function msi_lookup_irq was horrible. As a side effect of running it changed dev->irq, and then the callers would need to change it back. In addition it does a global scan through all of the irqs, which seems to be the sole justification of the msi_lock. To remove the neede for msi_lookup_irq I added first_msi_irq to struct pci_dev. Then depending on the context I replaced msi_lookup_irq with dev->first_msi_irq, dev->msi_enabled, or dev->msix_enabled. msi_enabled and msix_enabled were already present in pci_dev for other reasons. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions