[3/5] PCI,ACPI: Remove _PRT info when removing a host bridge

Submitted by Taku Izumi on Oct. 30, 2012, 6:25 a.m.


Message ID 20121030152539.dad71d2b.izumi.taku@jp.fujitsu.com
State Accepted
Headers show

Commit Message

Taku Izumi Oct. 30, 2012, 6:25 a.m.
Author: Bjorn Helgaas <bhelgaas@google.com>

PCI/ACPI: Remove _PRT info when removing a host bridge
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
 drivers/acpi/pci_root.c |    2 ++
 1 file changed, 2 insertions(+)

To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch hide | download patch | download mbox

Index: Bjorn-next-0925/drivers/acpi/pci_root.c
--- Bjorn-next-0925.orig/drivers/acpi/pci_root.c
+++ Bjorn-next-0925/drivers/acpi/pci_root.c
@@ -671,6 +671,8 @@  static int acpi_pci_root_remove(struct a
 	device_set_run_wake(root->bus->bridge, false);
+	acpi_pci_irq_del_prt(root->segment, root->secondary.start);