mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-06 17:42:14 +02:00
thermosphere: forgot compiler barrier in get_sysreg
This commit is contained in:
parent
316166d8de
commit
95ea2f4f95
@ -447,7 +447,7 @@
|
||||
|
||||
#define GET_SYSREG(r) ({\
|
||||
u64 __val; \
|
||||
asm volatile("mrs %0, " STRINGIZE(r) : "=r" (__val)); \
|
||||
__asm__ __volatile__("mrs %0, " STRINGIZE(r) : "=r" (__val) :: "memory"); \
|
||||
__val; \
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user