kern: allow non-inline GetObjectForIpc

This commit is contained in:
Michael Scire 2020-12-02 04:07:01 -08:00 committed by SciresM
parent 4804e1e1e0
commit 57f935391d

View File

@ -160,7 +160,7 @@ namespace ams::kern {
return this->template GetObjectWithoutPseudoHandle<T>(handle); return this->template GetObjectWithoutPseudoHandle<T>(handle);
} }
ALWAYS_INLINE KScopedAutoObject<KAutoObject> GetObjectForIpcWithoutPseudoHandle(ams::svc::Handle handle) const { KScopedAutoObject<KAutoObject> GetObjectForIpcWithoutPseudoHandle(ams::svc::Handle handle) const {
/* Lock and look up in table. */ /* Lock and look up in table. */
KScopedDisableDispatch dd; KScopedDisableDispatch dd;
KScopedSpinLock lk(this->lock); KScopedSpinLock lk(this->lock);