diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-27 20:48:44 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-11-05 23:26:05 +0100 |
commit | b5ae5f911d221ad85090d6805ab9ab020f6e4703 (patch) | |
tree | c3d9ff10fc1f8b6cd0984f908774c5ea4eeef333 /arch/powerpc/kernel/rtas_pci.c | |
parent | powerpc/eeh: Make EEH device add/remove more robust (diff) | |
download | linux-b5ae5f911d221ad85090d6805ab9ab020f6e4703.tar.xz linux-b5ae5f911d221ad85090d6805ab9ab020f6e4703.zip |
powerpc/pci: Make pcibios_allocate_bus_resources more robust
To properly fix PCI hotplug, it's useful to be able to make the fixup
passes on all devices whether they were just hot plugged or already
there.
However, pcibios_allocate_bus_resources() wouldn't cope well with
being called twice for a given bus. This makes it ignore resources
that have already been allocated, along with adding a bit of debug
output.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/rtas_pci.c')
0 files changed, 0 insertions, 0 deletions