mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2025-01-08 21:47:57 +00:00
kern: fix unnecessarily strong load in aligned spinlock
Copy-paste error I didn't notice for two years, whoops
This commit is contained in:
parent
04c9004e05
commit
e4b9930bf3
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ namespace ams::kern::arch::arm64 {
|
||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
" prfm pstl1keep, %[m_next_ticket]\n"
|
" prfm pstl1keep, %[m_next_ticket]\n"
|
||||||
"1:\n"
|
"1:\n"
|
||||||
" ldaxrh %w[tmp0], %[m_next_ticket]\n"
|
" ldxrh %w[tmp0], %[m_next_ticket]\n"
|
||||||
" add %w[tmp1], %w[tmp0], #0x1\n"
|
" add %w[tmp1], %w[tmp0], #0x1\n"
|
||||||
" stxrh %w[got_lock], %w[tmp1], %[m_next_ticket]\n"
|
" stxrh %w[got_lock], %w[tmp1], %[m_next_ticket]\n"
|
||||||
" cbnz %w[got_lock], 1b\n"
|
" cbnz %w[got_lock], 1b\n"
|
||||||
|
|
Loading…
Reference in a new issue