]> git.baikalelectronics.ru Git - kernel.git/commit
x86/PCI: Factor out pcibios_allocate_dev_resources()
authorYinghai Lu <yinghai@kernel.org>
Sun, 4 Nov 2012 04:39:25 +0000 (21:39 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 7 Jan 2013 21:47:16 +0000 (14:47 -0700)
commit4707a5528ef05d7e85067819128de79d0a915a0c
tree99c6a587123b3c5b4067f82ff1ad331a041b7fc1
parent66b08f8b12bf87469859a0878f97c9be0db91bdd
x86/PCI: Factor out pcibios_allocate_dev_resources()

Factor pcibios_allocate_dev_resources() out of
pcibios_allocate_resources().  Currently we only allocate these
resources at boot-time with a for_each_pci_dev() loop.  Eventually
we'll use pcibios_allocate_dev_resources() for hot-added devices, too.

[bhelgaas: changelog]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/i386.c