diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-08-07 23:03:35 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-08-07 23:03:35 +0000 |
commit | 93df14eee81cf5514fe96e9143201a75d9391c7b (patch) | |
tree | 240efc52c1b36d04a542037116e600d1e90d1079 /nptl | |
parent | a281decc878cf26cae12a5bdf5f4c6e0297303d6 (diff) | |
download | glibc-93df14eee81cf5514fe96e9143201a75d9391c7b.tar.gz |
Remove some pre-2.6.16 Linux kernel conditionals.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 5 | ||||
-rw-r--r-- | nptl/sysdeps/pthread/createthread.c | 9 |
2 files changed, 6 insertions, 8 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index bf9bf926b6..1f0d9256e9 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2012-08-07 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/pthread/createthread.c (create_thread) + [!__ASSUME_NO_CLONE_DETACHED]: Remove conditional code. + 2012-08-03 Joseph Myers <joseph@codesourcery.com> * nptl-init.c (sigcancel_handler) [__ASSUME_CORRECT_SI_PID]: Make diff --git a/nptl/sysdeps/pthread/createthread.c b/nptl/sysdeps/pthread/createthread.c index 3ead825354..d58f8fa455 100644 --- a/nptl/sysdeps/pthread/createthread.c +++ b/nptl/sysdeps/pthread/createthread.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002-2007, 2008, 2010 Free Software Foundation, Inc. +/* Copyright (C) 2002-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. @@ -179,18 +179,11 @@ create_thread (struct pthread *pd, const struct pthread_attr *attr, sys_exit() in the location pointed to by the seventh parameter to CLONE. - CLONE_DETACHED - No signal is generated if the thread exists and it is - automatically reaped. - The termination signal is chosen to be zero which means no signal is sent. */ int clone_flags = (CLONE_VM | CLONE_FS | CLONE_FILES | CLONE_SIGNAL | CLONE_SETTLS | CLONE_PARENT_SETTID | CLONE_CHILD_CLEARTID | CLONE_SYSVSEM -#if __ASSUME_NO_CLONE_DETACHED == 0 - | CLONE_DETACHED -#endif | 0); if (__builtin_expect (THREAD_GETMEM (THREAD_SELF, report_events), 0)) |