]> git.baikalelectronics.ru Git - kernel.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)
commita0f8ea634df75d08798b9923759b26a1a72e2a43
treeb014b51148dc378ce15c0daf81c19f03139dc01c
parentc7c443e16dd5e6f196be6fe4b4efb34d01f7794f
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