summaryrefslogtreecommitdiffstats
path: root/lib/int_sqrt.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2013-07-22 14:37:13 -0700
committerBjorn Helgaas <bhelgaas@google.com>2013-07-25 12:35:02 -0600
commit223d96fc3249b0ffdc30bf77fd90c93f857e9a6e (patch)
treec3f430aad2fe8d8eb9b603437c5511586f41eb63 /lib/int_sqrt.c
parent61e83cdde15f8850087d6c57c8576e25b671db59 (diff)
downloadlinux-223d96fc3249b0ffdc30bf77fd90c93f857e9a6e.tar.bz2
PCI: Look for unassigned resources on per-bus basis
When CONFIG_PCI_REALLOC_ENABLE_AUTO=y, pci_realloc_detect() looks at PCI devices to see if any have SR-IOV resources that need to be assigned. If it finds any, it turns on automatic resource reallocation. This patch changes pci_realloc_detect() so it uses pci_walk_bus() on each root bus instead of using for_each_pci_dev(). This is a step toward doing reallocation on a per-bus basis, so we can do it for a hot-added host bridge. [bhelgaas: changelog, rename callback to iov_resources_unassigned(), use boolean for "unassigned"] Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'lib/int_sqrt.c')
0 files changed, 0 insertions, 0 deletions