"optimize" arm __pthread_self
[musl] / arch / arm / pthread_arch.h
index c6b9736..e607c5d 100644 (file)
@@ -1,7 +1,4 @@
-static inline struct pthread *__pthread_self()
-{
-       return ((void *(*)(void))0xffff0fe0)();
-}
+#define __pthread_self ((pthread_t (*)(void))0xffff0fe0)
 
 #define CANCEL_REG_SP 16
 #define CANCEL_REG_IP 18