mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 04:22:50 +02:00
Properly fixed getThreadLocalStorage.
This commit is contained in:
parent
6c05799e8c
commit
b86cec7924
@ -19,7 +19,7 @@
|
||||
static inline void* getThreadLocalStorage(void)
|
||||
{
|
||||
void* ret;
|
||||
__asm__ ("mrs %[data], tpidrro_el0" : [data] "=x" (ret));
|
||||
__asm__ ("mrs %x[data], tpidrro_el0" : [data] "=r" (ret));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user