kern: remove unnecessary interrupt disables from arbiter/condvar

This commit is contained in:
Michael Scire
2023-02-21 10:58:02 -07:00
committed by SciresM
parent 008eb974d4
commit 1279d236f3
2 changed files with 8 additions and 3 deletions

View File

@@ -158,7 +158,8 @@ namespace ams::kern {
u32 prev_tag;
bool can_access;
{
KScopedInterruptDisable di;
/* NOTE: If scheduler lock is not held here, interrupt disable is required. */
/* KScopedInterruptDisable di; */
can_access = cpu::CanAccessAtomic(address);
if (AMS_LIKELY(can_access)) {