diff options
Diffstat (limited to 'drivers/acpi/pci_root.c')
-rw-r--r-- | drivers/acpi/pci_root.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c index bf601d4df8cf..919be0aa2578 100644 --- a/drivers/acpi/pci_root.c +++ b/drivers/acpi/pci_root.c | |||
@@ -648,12 +648,12 @@ static void acpi_pci_root_remove(struct acpi_device *device) | |||
648 | 648 | ||
649 | pci_stop_root_bus(root->bus); | 649 | pci_stop_root_bus(root->bus); |
650 | 650 | ||
651 | WARN_ON(acpi_ioapic_remove(root)); | 651 | pci_ioapic_remove(root); |
652 | |||
653 | device_set_run_wake(root->bus->bridge, false); | 652 | device_set_run_wake(root->bus->bridge, false); |
654 | pci_acpi_remove_bus_pm_notifier(device); | 653 | pci_acpi_remove_bus_pm_notifier(device); |
655 | 654 | ||
656 | pci_remove_root_bus(root->bus); | 655 | pci_remove_root_bus(root->bus); |
656 | WARN_ON(acpi_ioapic_remove(root)); | ||
657 | 657 | ||
658 | dmar_device_remove(device->handle); | 658 | dmar_device_remove(device->handle); |
659 | 659 | ||