summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/_exit.c
diff options
context:
space:
mode:
authorKhem Raj <kraj@mvista.com>2008-12-23 06:50:20 +0000
committerKhem Raj <kraj@mvista.com>2008-12-23 06:50:20 +0000
commit6374ca896086574af61eb37ef371e3371b10bb5c (patch)
tree4c321cab6e21f25534ea9c1e715c5b840ee9b810 /libc/sysdeps/linux/common/_exit.c
parentc229e6446c5fc270b88894269464213dc04f3200 (diff)
downloaduClibc-alpine-6374ca896086574af61eb37ef371e3371b10bb5c.tar.bz2
uClibc-alpine-6374ca896086574af61eb37ef371e3371b10bb5c.tar.xz
Get i386 non nptl builds going.
Diffstat (limited to 'libc/sysdeps/linux/common/_exit.c')
-rw-r--r--libc/sysdeps/linux/common/_exit.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libc/sysdeps/linux/common/_exit.c b/libc/sysdeps/linux/common/_exit.c
index a0b891d25..518a6d2e8 100644
--- a/libc/sysdeps/linux/common/_exit.c
+++ b/libc/sysdeps/linux/common/_exit.c
@@ -12,9 +12,6 @@
#include <unistd.h>
#include <sys/types.h>
#include <sys/syscall.h>
-#ifdef __UCLIBC_HAS_THREADS__
-#include <sysdep.h>
-#endif
/* libc_hidden_proto(_exit) */
@@ -28,13 +25,6 @@ void attribute_noreturn _exit(int status)
{
/* The loop is added only to keep gcc happy. */
while(1)
- {
-#ifdef __UCLIBC_HAS_THREADS_NATIVE__
-# ifdef __NR_exit_group
- INLINE_SYSCALL(exit_group, 1, status);
-# endif
-#endif
INLINE_SYSCALL(exit, 1, status);
- }
}
libc_hidden_def(_exit)