aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/evglock.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/evglock.c')
-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 a621481..fdb0a76 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);
}