mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Fixed getThreadLocalStorage.
This commit is contained in:
parent
45d7a25a20
commit
3b48bab62a
@ -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 %[data], tpidrro_el0" : [data] "=x" (ret));
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user