diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2009-11-11 08:34:15 +0300 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-11-25 02:25:14 +0300 |
commit | d3ccc4091f0d63a3e0976c739c27037a5666060d (patch) | |
tree | 047170187ca169a0090728ce92c5c62abbb66b3a /mm/bootmem.c | |
parent | db9538a7495e33f3571c0e791c7678bc0c6ef50f (diff) | |
download | linux-d3ccc4091f0d63a3e0976c739c27037a5666060d.tar.xz |
PCI hotplug: use pci_pcie_cap()
Use pci_pcie_cap() instead of pci_find_capability() to get PCIe capability
offset in PCI hotplug core. 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 'mm/bootmem.c')
0 files changed, 0 insertions, 0 deletions