ACPI / hotplug: Carry out PCI root eject directly
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Nov 2013 00:42:09 +0000 (01:42 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Nov 2013 00:42:09 +0000 (01:42 +0100)
commit43d388832bd3e413e9b5e6f3caef4b0844b901af
tree0a95011781ad5a4286761fd17ed2f5c285b5e02a
parenta3b1b1ef78cd2ffb5d3a223465064dee05929dc3
ACPI / hotplug: Carry out PCI root eject directly

Since _handle_hotplug_event_root() is run from the ACPI hotplug
workqueue, it doesn't need to queue up a work item to eject a PCI
host bridge on the same workqueue.  Instead, it can just carry out
the eject by calling acpi_bus_device_eject() directly, so make that
happen.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/internal.h
drivers/acpi/pci_root.c
drivers/acpi/scan.c