mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-25 04:04:22 -04:00
kern: remove unnecessary interrupt disables from arbiter/condvar
This commit is contained in:
parent
819f7edc70
commit
4f6ecf138b
2 changed files with 8 additions and 3 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue