summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-29 20:10:24 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-29 22:19:42 +0200
commit68bf6db673e3a0070b5c47d7ab997d82d31e1526 (patch)
treee46af9f9ae539a76be6d50d13192f89071dacabd /Kernel/Syscall.cpp
parented0e64943f7b779d2343471c76c997e4a6d3a438 (diff)
downloadserenity-68bf6db673e3a0070b5c47d7ab997d82d31e1526.zip
Kernel: Rename Spinlock::is_owned_by_current_thread()
...to is_owned_by_current_processor(). As Tom pointed out, this is much more accurate. :^)
Diffstat (limited to 'Kernel/Syscall.cpp')
-rw-r--r--Kernel/Syscall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscall.cpp b/Kernel/Syscall.cpp
index c9b267425c..1579f862b7 100644
--- a/Kernel/Syscall.cpp
+++ b/Kernel/Syscall.cpp
@@ -236,7 +236,7 @@ NEVER_INLINE void syscall_handler(TrapFrame* trap)
// Check if we're supposed to return to userspace or just die.
current_thread->die_if_needed();
- VERIFY(!g_scheduler_lock.is_locked_by_current_thread());
+ VERIFY(!g_scheduler_lock.is_locked_by_current_processor());
}
}