From: Nathan Fontenot Date: Mon, 27 Oct 2008 19:48:17 +0000 (+0000) Subject: powerpc/pci: Properly allocate bus resources for hotplug PHBs X-Git-Tag: v2.6.28-rc3~22^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e90a13184600ec756875238ad130e2f205cd9a1b;p=pandora-kernel.git powerpc/pci: Properly allocate bus resources for hotplug PHBs Resources for PHB's that are dynamically added to a system are not properly allocated in the resource tree. Not having these resources allocated causes an oops when removing the PHB when we try to release them. The diff appears a bit messy, this is mainly due to moving everything one tab to the left in the pcibios_allocate_bus_resources routine. The functionality change in this routine is only that the list_for_each_entry() loop is pulled out and moved to the necessary calling routine. Signed-off-by: Nathan Fontenot Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed