diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2009-11-11 06:30:56 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-11-25 00:25:12 +0100 |
commit | 06a1cbafb253c4c60d6a54a994887f5fbceabcc0 (patch) | |
tree | e534c369ab1878a5d86996c29d629d1f5d8f9f75 /kernel/latencytop.c | |
parent | PCI: introduce pci_pcie_cap() (diff) | |
download | linux-06a1cbafb253c4c60d6a54a994887f5fbceabcc0.tar.xz linux-06a1cbafb253c4c60d6a54a994887f5fbceabcc0.zip |
PCI: use pci_pcie_cap() in pci core
Use pcie_cap() instead of pci_find_capability() to get PCIe capability
offset in PCI core code. This avoids unnecessary search in PCI
configuration space.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'kernel/latencytop.c')
0 files changed, 0 insertions, 0 deletions