From: Bjorn Helgaas Date: Mon, 31 Aug 2009 22:32:10 +0000 (+0000) Subject: ACPI: simplify deferred execution path X-Git-Tag: v2.6.32-rc1~171^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ac6185669d0d277c4082fa92ba8eb2e55534cbf;p=pandora-kernel.git 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 Signed-off-by: Len Brown --- Reading git-diff-tree failed