Skip to content

Commit 93d6884

Browse files
praritrafaeljw
authored andcommitted
ACPICA: Dispatcher: Update thread ID for recursive method calls
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]>
1 parent 04974df commit 93d6884

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/acpi/acpica/dsmethod.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,9 @@ acpi_ds_begin_method_execution(struct acpi_namespace_node *method_node,
428428
obj_desc->method.mutex->mutex.
429429
original_sync_level =
430430
obj_desc->method.mutex->mutex.sync_level;
431+
432+
obj_desc->method.mutex->mutex.thread_id =
433+
acpi_os_get_thread_id();
431434
}
432435
}
433436

0 commit comments

Comments
 (0)