commit | 9ac6185669d0d277c4082fa92ba8eb2e55534cbf | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Mon Aug 31 22:32:10 2009 +0000 |
committer | Len Brown <len.brown@intel.com> | Sat Sep 19 02:15:05 2009 -0400 |
tree | eacaf117ddf71e2b75738cfdcd918572a165943c | |
parent | d26f0528d588e596955bf296a609afe52eafc099 [diff] |
ACPI: simplify deferred execution path We had two functions, acpi_os_execute_deferred() and acpi_os_execute_hp_deferred() that differed only in that the latter did acpi_os_wait_events_complete(NULL) before executing the deferred function. This patch consolidates those two functions and uses a flag in the struct acpi_os_dpc to determine whether to do the wait. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>