summaryrefslogtreecommitdiff
path: root/arch/superh/pthread_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/superh/pthread_arch.h')
-rw-r--r--arch/superh/pthread_arch.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/superh/pthread_arch.h b/arch/superh/pthread_arch.h
deleted file mode 100644
index 65c389ff..00000000
--- a/arch/superh/pthread_arch.h
+++ /dev/null
@@ -1,11 +0,0 @@
-static inline struct pthread *__pthread_self()
-{
- char *self;
- __asm__ __volatile__ ("stc gbr,%0" : "=r" (self) );
- return (struct pthread *) (self + 8 - sizeof(struct pthread));
-}
-
-#define TLS_ABOVE_TP
-#define TP_ADJ(p) ((char *)(p) + sizeof(struct pthread) - 8)
-
-#define CANCEL_REG_IP 17