Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46381
b: refs/heads/master
c: f70a5e7
h: refs/heads/master
i:
  46379: 5d52c0c
v: v3
  • Loading branch information
Bob Moore authored and Len Brown committed Feb 3, 2007
1 parent 0d1f012 commit 05e35a2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 310a7f7fee489b7dadd27b0d8487bd0ce66281e7
refs/heads/master: f70a5e7b6c28e0b08f721204f4b98c5d1cfb44d9
8 changes: 7 additions & 1 deletion trunk/drivers/acpi/executer/exmutex.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,12 @@ acpi_ex_release_mutex(union acpi_operand_object *obj_desc,
*
* DESCRIPTION: Release all mutexes held by this thread
*
* NOTE: This function is called as the thread is exiting the interpreter.
* Mutexes are not released when an individual control method is exited, but
* only when the parent thread actually exits the interpreter. This allows one
* method to acquire a mutex, and a different method to release it, as long as
* this is performed underneath a single parent control method.
*
******************************************************************************/

void acpi_ex_release_all_mutexes(struct acpi_thread_state *thread)
Expand All @@ -346,7 +352,7 @@ void acpi_ex_release_all_mutexes(struct acpi_thread_state *thread)

obj_desc->mutex.prev = NULL;
obj_desc->mutex.next = NULL;
obj_desc->mutex.acquisition_depth = 1;
obj_desc->mutex.acquisition_depth = 0;

/* Release the mutex, special case for Global Lock */

Expand Down

0 comments on commit 05e35a2

Please sign in to comment.