From f089cd4b76d16949cb474355a3b03a61ad3fce73 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 1 Dec 2020 17:36:14 -0800 Subject: [PATCH] kern: allow non-inline KSchedulerLock::Lock --- .../libmesosphere/include/mesosphere/kern_k_scheduler_lock.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libmesosphere/include/mesosphere/kern_k_scheduler_lock.hpp b/libraries/libmesosphere/include/mesosphere/kern_k_scheduler_lock.hpp index b9beaf49d..c413fcde1 100644 --- a/libraries/libmesosphere/include/mesosphere/kern_k_scheduler_lock.hpp +++ b/libraries/libmesosphere/include/mesosphere/kern_k_scheduler_lock.hpp @@ -45,7 +45,7 @@ namespace ams::kern { return this->owner_thread == GetCurrentThreadPointer(); } - ALWAYS_INLINE void Lock() { + void Lock() { MESOSPHERE_ASSERT_THIS(); if (this->IsLockedByCurrentThread()) {