summaryrefslogtreecommitdiff
path: root/Kernel/Thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Thread.cpp')
-rw-r--r--Kernel/Thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Thread.cpp b/Kernel/Thread.cpp
index eba49beb8b..9a80a6167b 100644
--- a/Kernel/Thread.cpp
+++ b/Kernel/Thread.cpp
@@ -310,7 +310,7 @@ void Thread::relock_process(LockMode previous_locked, u32 lock_count_to_restore)
if (previous_locked != LockMode::Unlocked) {
// We've unblocked, relock the process if needed and carry on.
- RESTORE_LOCK(process().big_lock(), previous_locked, lock_count_to_restore);
+ process().big_lock().restore_lock(previous_locked, lock_count_to_restore);
}
}