Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343243
b: refs/heads/master
c: 62a08c5
h: refs/heads/master
i:
  343241: 48cfbe2
  343239: b58db38
v: v3
  • Loading branch information
Yinghai Lu authored and Bjorn Helgaas committed Nov 3, 2012
1 parent 4ffb948 commit a8c4e0a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e164f658f209b85566732bd85c62009237be0909
refs/heads/master: 62a08c5a3173c4462239804b959c0d29dc74493b
7 changes: 7 additions & 0 deletions trunk/drivers/acpi/pci_root.c
Original file line number Diff line number Diff line change
Expand Up @@ -644,12 +644,19 @@ static int acpi_pci_root_start(struct acpi_device *device)
struct acpi_pci_root *root = acpi_driver_data(device);
struct acpi_pci_driver *driver;

if (system_state != SYSTEM_BOOTING)
pci_assign_unassigned_bus_resources(root->bus);

mutex_lock(&acpi_pci_root_lock);
list_for_each_entry(driver, &acpi_pci_drivers, node)
if (driver->add)
driver->add(root);
mutex_unlock(&acpi_pci_root_lock);

/* need to after hot-added ioapic is registered */
if (system_state != SYSTEM_BOOTING)
pci_enable_bridges(root->bus);

pci_bus_add_devices(root->bus);

return 0;
Expand Down

0 comments on commit a8c4e0a

Please sign in to comment.