]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI/MSI: skip calling pci_find_capability from msi_set_mask_bits
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Mon, 19 May 2008 04:48:17 +0000 (13:48 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 10 Jun 2008 17:59:49 +0000 (10:59 -0700)
commit5ca5c02f0e81c094c19d30dc0d13be4e929a994a
treeb014b51148dc378ce15c0daf81c19f03139dc01c
parentcf35e4ad57b4c39a4c74921e20e48ec0dbeb14f4
PCI/MSI: skip calling pci_find_capability from msi_set_mask_bits

The position of MSI capability is already cached in the msi_desc when
we enter the msi_set_mask_bits().  Use it instead.

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/msi.c