diff options
author | Alex Chiang <achiang@hp.com> | 2009-09-10 20:34:04 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-09-14 17:46:48 +0200 |
commit | 6edd7679db92376ca54f328d6b0f12291c2dab35 (patch) | |
tree | b04ce7c5965e30914f3ba6e70f6553363552d23f /kernel/sched_cpupri.h | |
parent | PCI: pcie portdrv: remove unused variable (diff) | |
download | linux-6edd7679db92376ca54f328d6b0f12291c2dab35.tar.xz linux-6edd7679db92376ca54f328d6b0f12291c2dab35.zip |
PCI Hotplug: acpiphp: find bridges the easy way
Instead of constantly evaluating _ADR and _SEG over and over again,
let's simplify our lives by using:
acpi_pci_find_root() for root bridges
acpi_get_pci_dev() for p2p bridges
This change eliminates some copy 'n paste code and also allows us
to simplify some internal interfaces.
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tested-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'kernel/sched_cpupri.h')
0 files changed, 0 insertions, 0 deletions