summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-07-14 01:27:24 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-07-23 06:00:20 +0400
commit87831273438d66167dddc6d73e42d49671cb56bb (patch)
tree8377ee31f20874c45c160abad721ca27505e981d /README
parentcb7b8cedf6c88b9d1d08e0565e8da52180921071 (diff)
downloadlinux-87831273438d66167dddc6d73e42d49671cb56bb.tar.xz
ACPI / hotplug / PCI: Unified notify handler for hotplug events
Using the hotplug context objects introduced previously rework the ACPI-based PCI hotplug (ACPIPHP) core code so that all notifications for ACPI device objects corresponding to the hotplug PCI devices are handled by one function, handle_hotplug_event(), which recognizes whether it has to handle a bridge or a function. In addition to code size reduction it allows some ugly pieces of code where notify handlers have to be uninstalled and installed again to go away. Moreover, it fixes a theoretically possible race between handle_hotplug_event() and free_bridge() tearing down data structures for the same handle. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions