Properly fixed getThreadLocalStorage.

This commit is contained in:
yellows8 2017-09-08 18:31:54 -04:00
parent 6c05799e8c
commit b86cec7924

View File

@ -19,7 +19,7 @@
static inline void* getThreadLocalStorage(void) static inline void* getThreadLocalStorage(void)
{ {
void* ret; void* ret;
__asm__ ("mrs %[data], tpidrro_el0" : [data] "=x" (ret)); __asm__ ("mrs %x[data], tpidrro_el0" : [data] "=r" (ret));
return ret; return ret;
} }