aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/i386/pthreaddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/i386/pthreaddef.h')
-rw-r--r--nptl/sysdeps/i386/pthreaddef.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/nptl/sysdeps/i386/pthreaddef.h b/nptl/sysdeps/i386/pthreaddef.h
index 6efa1b6d82..1fe9455848 100644
--- a/nptl/sysdeps/i386/pthreaddef.h
+++ b/nptl/sysdeps/i386/pthreaddef.h
@@ -49,7 +49,3 @@
asm volatile ("movl %1, %%ebx; int $0x80" \
:: "a" (__NR_exit), "r" (val)); \
}
-#define gettid() \
- ({ int tid; \
- __asm __volatile ("int $0x80" : "=a" (tid) : "0" (__NR_gettid)); \
- tid; })