diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-23 20:18:59 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-23 20:18:59 -0700 |
commit | a5390aa6dc3646b08bed421944cef0daf78ab994 (patch) | |
tree | c7c84410c2db3ca93e912135cd3c1722d4b644ac /kernel/bounds.c | |
parent | 844393f4c5e309dd262b27796471c47e348b57a8 (diff) |
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 <bhelgaas@google.com>
Diffstat (limited to 'kernel/bounds.c')
0 files changed, 0 insertions, 0 deletions