From 3d4ab95ab21e9e74ea106a48e56bf65e66f30831 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()) {