kern: allow non-inline KSchedulerLock::Lock

This commit is contained in:
Michael Scire 2020-12-01 17:36:14 -08:00
parent a911d2da7e
commit ca24d0ed9f

View File

@ -45,7 +45,7 @@ namespace ams::kern {
return this->owner_thread == GetCurrentThreadPointer();
}
ALWAYS_INLINE void Lock() {
void Lock() {
MESOSPHERE_ASSERT_THIS();
if (this->IsLockedByCurrentThread()) {