1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-27 04:36:04 +00:00

thermosphere: forgot compiler barrier in get_sysreg

This commit is contained in:
TuxSH 2020-02-01 22:05:26 +00:00
parent 63e3f40fa5
commit c67ff366ea

View file

@ -447,7 +447,7 @@
#define GET_SYSREG(r) ({\ #define GET_SYSREG(r) ({\
u64 __val; \ u64 __val; \
asm volatile("mrs %0, " STRINGIZE(r) : "=r" (__val)); \ __asm__ __volatile__("mrs %0, " STRINGIZE(r) : "=r" (__val) :: "memory"); \
__val; \ __val; \
}) })