summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/pthread_arch.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/pthread_arch.h b/arch/arm/pthread_arch.h
index c6b97368..e607c5db 100644
--- a/arch/arm/pthread_arch.h
+++ b/arch/arm/pthread_arch.h
@@ -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