summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/sched.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Syscalls/sched.cpp')
-rw-r--r--Kernel/Syscalls/sched.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/sched.cpp b/Kernel/Syscalls/sched.cpp
index 5c1aa67b79..63c16408f6 100644
--- a/Kernel/Syscalls/sched.cpp
+++ b/Kernel/Syscalls/sched.cpp
@@ -12,7 +12,7 @@ KResultOr<FlatPtr> Process::sys$yield()
{
VERIFY_NO_PROCESS_BIG_LOCK(this);
REQUIRE_PROMISE(stdio);
- Thread::current()->yield_assuming_not_holding_big_lock();
+ Thread::current()->yield_without_releasing_big_lock();
return 0;
}