diff options
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r-- | Kernel/Process.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index 96ec8d4ff4..698b1d431f 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -978,10 +978,10 @@ inline ProcessID Thread::pid() const } #define VERIFY_PROCESS_BIG_LOCK_ACQUIRED(process) \ - VERIFY(process->big_lock().own_lock()); + VERIFY(process->big_lock().is_locked_by_current_thread()); #define VERIFY_NO_PROCESS_BIG_LOCK(process) \ - VERIFY(!process->big_lock().own_lock()); + VERIFY(!process->big_lock().is_locked_by_current_thread()); inline static KResultOr<NonnullOwnPtr<KString>> try_copy_kstring_from_user(const Kernel::Syscall::StringArgument& string) { |