summaryrefslogtreecommitdiff
path: root/firmware/sun
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-08-17 17:57:48 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2012-08-22 17:31:48 (GMT)
commit282e1d655fe7c7c2e6b0dd8166c4c6b7c2a1219b (patch)
tree9890411229a7f8b7314ddbf44e33554fa1b360b8 /firmware/sun
parent2ed168eeb3edec029aa0eca5cb981d6376f931f9 (diff)
downloadlinux-282e1d655fe7c7c2e6b0dd8166c4c6b7c2a1219b.tar.xz
PCI: Stop and remove devices in one pass
Previously, when we removed a PCI device, we made two passes over the hierarchy rooted at the device. In the first pass, we stopped all the devices, and in the second, we removed them. This patch combines the two passes into one so that we remove a device as soon as it and all its children have been stopped. Note that we previously stopped devices in reverse order and removed them in forward order. Now we stop and remove them in reverse order. Tested-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Yinghai Lu <yinghai@kernel.org>
Diffstat (limited to 'firmware/sun')
0 files changed, 0 insertions, 0 deletions