Skip to contentSkip to conversation

ACPICA: fix Thunderbolt hotplug

PATCH Moore 1 participant 1 message Mar 30, 2016 1 message not in the archive ACPI component architecture (acpica)

lore
Share & tools
lore

Moore

#1 lore raw
In reply to a message not in the archive

This patch looks familiar, we may have it fixed already.

Lv should know.
Bob

Quoted 25 lines
Cc Robert Moore <robert.moore(a)intel.com>
Cc Lv Zheng <lv.zheng(a)intel.com>
Signed-off-by Prarit Bhargava <prarit(a)redhat.com>
---
 source/components/dispatcher/dsmethod.c |    3 +++
 1 file changed, 3 insertions(+)
source/components/dispatcher/dsmethod.c +3 -1
index a861838..ceb6c75 100644
@@ -532,6 +532,9 @@ AcpiDsBeginMethodExecution (
             {
                 ObjDesc->Method.Mutex->Mutex.OriginalSyncLevel =
                     ObjDesc->Method.Mutex->Mutex.SyncLevel;
+
+                ObjDesc->Method.Mutex->Mutex.ThreadId =
+                    AcpiOsGetThreadId();
             }
         }
 
--

1.7.9.3