summaryrefslogtreecommitdiffstats
path: root/runtime/arch/x86/thread_x86.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/arch/x86/thread_x86.cc')
-rw-r--r--runtime/arch/x86/thread_x86.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/arch/x86/thread_x86.cc b/runtime/arch/x86/thread_x86.cc
index b97c143..56b0b79 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(this, *Locks::modify_ldt_lock_);
+ MutexLock mu(nullptr, *Locks::modify_ldt_lock_);
// Sanity check that reads from %fs point to this Thread*.
Thread* self_check;