aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Nowicki <[email protected]>2013-06-08 00:59:55 +0000
committerRafael J. Wysocki <[email protected]>2013-06-16 01:03:59 +0200
commit9dae7bb0459332cc8fe8e29880cd158807c03d6b (patch)
treed634650cd04db794e28f5e89745342ab7e9dfd8e
parentde8e7db74a98124406b72a528f4c79766e08b410 (diff)
ACPICA: ACPICA Termination: Delete global lock pending lock
Add deletion of this lock, used for the global lock. ACPICA BZ 1012. Tomasz Nowicki <[email protected]> References: https://bugs.acpica.org/show_bug.cgi?id=1012 Signed-off-by: Tomasz Nowicki <[email protected]> Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Lv Zheng <[email protected]> Reviewed-by: Len Brown <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
-rw-r--r--drivers/acpi/acpica/evglock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/evglock.c b/drivers/acpi/acpica/evglock.c
index a621481c6cf2..fdb0a76e40a3 100644
--- a/drivers/acpi/acpica/evglock.c
+++ b/drivers/acpi/acpica/evglock.c
@@ -128,6 +128,7 @@ acpi_status acpi_ev_remove_global_lock_handler(void)
status = acpi_remove_fixed_event_handler(ACPI_EVENT_GLOBAL,
acpi_ev_global_lock_handler);
+ acpi_os_delete_lock(acpi_gbl_global_lock_pending_lock);
return_ACPI_STATUS(status);
}