diff options
author | Bob Moore <robert.moore@intel.com> | 2008-04-10 19:06:37 +0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-22 14:29:22 -0400 |
commit | f02e9fa1ceee045f7d5c53d475032815752a2510 (patch) | |
tree | 52da78bd3ef6442418ad2dae6fa55aab964dc6b4 /drivers/acpi/events | |
parent | a4df451a1055d97726ab890249bc3f941906fa75 (diff) | |
download | op-kernel-dev-f02e9fa1ceee045f7d5c53d475032815752a2510.zip op-kernel-dev-f02e9fa1ceee045f7d5c53d475032815752a2510.tar.gz |
ACPICA: Misc fixes for recent global lock code update
Fixes as a result of running full validation test suite.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/events')
-rw-r--r-- | drivers/acpi/events/evxface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/events/evxface.c b/drivers/acpi/events/evxface.c index dbf34a5..e210aa2 100644 --- a/drivers/acpi/events/evxface.c +++ b/drivers/acpi/events/evxface.c @@ -816,7 +816,7 @@ acpi_status acpi_release_global_lock(u32 handle) { acpi_status status; - if (handle != acpi_gbl_global_lock_handle) { + if (!handle || (handle != acpi_gbl_global_lock_handle)) { return (AE_NOT_ACQUIRED); } |