mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 20:31:14 +00:00
kern: other dmbs in kernel were already dmb ish
This commit is contained in:
parent
1d5f66be56
commit
9cc6be4d57
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ namespace ams::kern::arch::arm64::cpu {
|
|||
} else {
|
||||
m_counter = cpu::GetPerformanceCounter(m_which);
|
||||
}
|
||||
DataMemoryBarrier();
|
||||
DataMemoryBarrierInnerShareable();
|
||||
m_done = true;
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue