From: Bjorn Helgaas Date: Fri, 24 Feb 2012 03:18:59 +0000 (-0700) Subject: PCI: don't publish new root bus until it's fully initialized X-Git-Tag: v3.4-rc1~114^2~28^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5390aa6dc3646b08bed421944cef0daf78ab994;p=pandora-kernel.git PCI: don't publish new root bus until it's fully initialized When pci_create_root_bus() adds the new struct pci_bus to the global pci_root_buses list, the bus becomes visible to other parts of the kernel, so it should be fully initialized. This patch delays adding the bus to the pci_root_buses list until after all the struct pci_bus initialization is finished. Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed