summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/ibmphp.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-06-10 22:46:35 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-06-11 21:08:49 +0200
commit882d18a702c66404fcb62b84748f719f9b47441c (patch)
tree6421a39a71d751250afe3b19d8fcfceee792b864 /drivers/pci/hotplug/ibmphp.h
parentMerge tag 'pm+acpi-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadlinux-882d18a702c66404fcb62b84748f719f9b47441c.tar.xz
linux-882d18a702c66404fcb62b84748f719f9b47441c.zip
ACPI / hotplug / PCI: Add hotplug contexts to PCI host bridges
After relatively recent changes in the ACPI-based PCI hotplug (ACPIPHP) code, the acpiphp_check_host_bridge() executed for PCI host bridges via acpi_pci_root_scan_dependent() doesn't do anything useful, because those bridges do not have hotplug contexts. That happens by mistake, so fix it by making acpiphp_enumerate_slots() add hotplug contexts to PCI host bridges too and modify acpiphp_remove_slots() to drop those contexts for host bridges as appropriate. Link: https://bugzilla.kernel.org/show_bug.cgi?id=76901 Fixes: 2d8b1d566a5f (ACPI / hotplug / PCI: Get rid of check_sub_bridges()) Reported-and-tested-by: Gavin Guo <gavin.guo@canonical.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Cc: 3.15+ <stable@vger.kernel.org> # 3.15+ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp.h')
0 files changed, 0 insertions, 0 deletions