aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/sh/pthreaddef.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-05-13 09:49:20 -0700
committerRoland McGrath <roland@hack.frob.com>2014-05-13 09:49:20 -0700
commite0db65176fa88b9497cbd6362b24e3225382bfb6 (patch)
treeb692338590e818c8b273730577434d4d685fc4ef /nptl/sysdeps/sh/pthreaddef.h
parent01eb16fdb6c143884dcaeadf45ffdd725207eed5 (diff)
downloadglibc-e0db65176fa88b9497cbd6362b24e3225382bfb6.tar
glibc-e0db65176fa88b9497cbd6362b24e3225382bfb6.tar.gz
glibc-e0db65176fa88b9497cbd6362b24e3225382bfb6.tar.bz2
glibc-e0db65176fa88b9497cbd6362b24e3225382bfb6.zip
Clean up __exit_thread.
Diffstat (limited to 'nptl/sysdeps/sh/pthreaddef.h')
-rw-r--r--nptl/sysdeps/sh/pthreaddef.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/nptl/sysdeps/sh/pthreaddef.h b/nptl/sysdeps/sh/pthreaddef.h
index f0b1ad7355..7ea338e4d7 100644
--- a/nptl/sysdeps/sh/pthreaddef.h
+++ b/nptl/sysdeps/sh/pthreaddef.h
@@ -32,17 +32,3 @@
/* Location of current stack frame. */
#define CURRENT_STACK_FRAME __builtin_frame_address (0)
-
-
-/* XXX Until we have a better place keep the definitions here. */
-
-/* While there is no such syscall. */
-#define __exit_thread_inline(val) \
- while (1) { \
- if (__builtin_constant_p (val) && (val) == 0) \
- asm volatile ("mov #0,r4; mov %0,r3; trapa #0x11\n\t" SYSCALL_INST_PAD \
- :: "i" (__NR_exit)); \
- else \
- asm volatile ("mov %1,r4; mov %0,r3; trapa #0x11\n\t" SYSCALL_INST_PAD \
- :: "i" (__NR_exit), "r" (val)); \
- }