Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102024
b: refs/heads/master
c: b53ce3f
h: refs/heads/master
v: v3
  • Loading branch information
Bob Moore authored and Andi Kleen committed Jul 16, 2008
1 parent 7af3ebc commit 0ff181e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: fd0a43276dc986e186eb27e5755a18e97e07a7eb
refs/heads/master: b53ce3f7186e2fc561f02085b5021df10d715ce2
4 changes: 2 additions & 2 deletions trunk/drivers/acpi/utilities/utmutex.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ acpi_status acpi_ut_acquire_mutex(acpi_mutex_handle mutex_id)
* the mutex ordering rule. This indicates a coding error somewhere in
* the ACPI subsystem code.
*/
for (i = mutex_id; i < ACPI_MAX_MUTEX; i++) {
for (i = mutex_id; i < ACPI_NUM_MUTEX; i++) {
if (acpi_gbl_mutex_info[i].thread_id == this_thread_id) {
if (i == mutex_id) {
ACPI_ERROR((AE_INFO,
Expand Down Expand Up @@ -315,7 +315,7 @@ acpi_status acpi_ut_release_mutex(acpi_mutex_handle mutex_id)
* ordering rule. This indicates a coding error somewhere in
* the ACPI subsystem code.
*/
for (i = mutex_id; i < ACPI_MAX_MUTEX; i++) {
for (i = mutex_id; i < ACPI_NUM_MUTEX; i++) {
if (acpi_gbl_mutex_info[i].thread_id == this_thread_id) {
if (i == mutex_id) {
continue;
Expand Down

0 comments on commit 0ff181e

Please sign in to comment.