From 3b48bab62a2fde20bc4988a68a7c4ceff50d73e4 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Fri, 8 Sep 2017 17:56:32 -0400 Subject: [PATCH] Fixed getThreadLocalStorage. --- nx/include/switch/svc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/include/switch/svc.h b/nx/include/switch/svc.h index 3470edc7..967f8ae0 100644 --- a/nx/include/switch/svc.h +++ b/nx/include/switch/svc.h @@ -19,7 +19,7 @@ static inline void* getThreadLocalStorage(void) { void* ret; - __asm__ ("mrs %[data], tpidrro_el0 : [data] "=x" (ret)); + __asm__ ("mrs %[data], tpidrro_el0" : [data] "=x" (ret)); return ret; }