1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-17 17:36:44 +00:00

kern: other dmbs in kernel were already dmb ish

This commit is contained in:
Michael Scire 2021-10-25 17:38:50 -07:00
parent 1d5f66be56
commit 9cc6be4d57
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ namespace ams::kern::arch::arm64::cpu {
} else {
m_counter = cpu::GetPerformanceCounter(m_which);
}
DataMemoryBarrier();
DataMemoryBarrierInnerShareable();
m_done = true;
return nullptr;
}

View file

@ -250,7 +250,7 @@ namespace ams::kern {
{
const u32 has_waiter_flag = 1;
WriteToUser(key, std::addressof(has_waiter_flag));
cpu::DataMemoryBarrier();
cpu::DataMemoryBarrierInnerShareable();
}
/* Write the value to userspace. */