thermosphere: forgot compiler barrier in get_sysreg

This commit is contained in:
TuxSH committed 2021-02-19 21:52:10 +00:00
1 parent 63e3f40fa5
commit c67ff366ea
1 file changed
+1 -1
+1 -1
View File
@@ -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; \
})