Skip to content

Commit

Permalink
ACPICA: Dispatcher: Update thread ID for recursive method calls
Browse files Browse the repository at this point in the history
[ Upstream commit 93d6884 ]

ACPICA commit 7a3bd2d962f221809f25ddb826c9e551b916eb25

Set the mutex owner thread ID.
Original patch from: Prarit Bhargava <[email protected]>

Link: https://bugzilla.kernel.org/show_bug.cgi?id=115121
Link: acpica/acpica@7a3bd2d9
Signed-off-by: Prarit Bhargava <[email protected]>
Tested-by: Andy Lutomirski <[email protected]> # On a Dell XPS 13 9350
Signed-off-by: Bob Moore <[email protected]>
Signed-off-by: Lv Zheng <[email protected]>
Cc: All applicable <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
prarit authored and sashalevin committed May 17, 2016
1 parent d15451d commit a10c059
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/acpi/acpica/dsmethod.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,9 @@ acpi_ds_begin_method_execution(struct acpi_namespace_node *method_node,
obj_desc->method.mutex->mutex.
original_sync_level =
obj_desc->method.mutex->mutex.sync_level;

obj_desc->method.mutex->mutex.thread_id =
acpi_os_get_thread_id();
}
}

Expand Down

0 comments on commit a10c059

Please sign in to comment.