commit | 83edc87ce8b284a3d60ab8072e55041c76a68277 | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yinghai@kernel.org> | Sat Nov 03 21:39:26 2012 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Mon Jan 07 15:58:16 2013 -0700 |
tree | ef8b9a395f563d97e433245d293d92a93d50ac96 | |
parent | c7f4bbc92feee2986212ef3b42c806e2257197dc [diff] |
x86/PCI: Allocate resources on a per-bus basis for hot-adding root buses Previously pcibios_allocate_resources() allocated resources at boot-time for all PCI devices using for_each_pci_dev(). This patch changes pcibios_allocate_resources() so we can specify a bus, so we can do similar allocation when hot-adding a root bus. [bhelgaas: changelog] Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>