summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 9050ff3de..89c3e240a 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -625,7 +625,7 @@ static ResultCode WaitProcessWideKeyAtomic(VAddr mutex_addr, VAddr condition_var
625 625
626 // Note: Deliberately don't attempt to inherit the lock owner's priority. 626 // Note: Deliberately don't attempt to inherit the lock owner's priority.
627 627
628 Core::System::GetInstance().PrepareReschedule(); 628 Core::System::GetInstance().CpuCore(current_thread->processor_id).PrepareReschedule();
629 return RESULT_SUCCESS; 629 return RESULT_SUCCESS;
630} 630}
631 631
@@ -678,7 +678,7 @@ static ResultCode SignalProcessWideKey(VAddr condition_variable_addr, s32 target
678 678
679 owner->AddMutexWaiter(thread); 679 owner->AddMutexWaiter(thread);
680 680
681 Core::System::GetInstance().PrepareReschedule(); 681 Core::System::GetInstance().CpuCore(thread->processor_id).PrepareReschedule();
682 } 682 }
683 683
684 ++processed; 684 ++processed;