diff options
Diffstat (limited to 'runtime/arch/x86/thread_x86.cc')
-rw-r--r-- | runtime/arch/x86/thread_x86.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/arch/x86/thread_x86.cc b/runtime/arch/x86/thread_x86.cc index 56b0b79..b97c143 100644 --- a/runtime/arch/x86/thread_x86.cc +++ b/runtime/arch/x86/thread_x86.cc @@ -137,7 +137,7 @@ void Thread::InitCpu() { } void Thread::CleanupCpu() { - MutexLock mu(nullptr, *Locks::modify_ldt_lock_); + MutexLock mu(this, *Locks::modify_ldt_lock_); // Sanity check that reads from %fs point to this Thread*. Thread* self_check; |