about summary refs log tree commit diff
path: root/nptl/sysdeps/pthread
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-08-08 23:22:53 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-08-08 23:22:53 +0000
commitb36137f1d6899010a8e6d8f6e91a801a6b9d03f4 (patch)
treed1f290f98129694fb7f3e5141e953b53a821f3b8 /nptl/sysdeps/pthread
parent44c94c1da0d243a20539ae326567eb6dc4e1f540 (diff)
downloadglibc-b36137f1d6899010a8e6d8f6e91a801a6b9d03f4.tar.gz
glibc-b36137f1d6899010a8e6d8f6e91a801a6b9d03f4.tar.xz
glibc-b36137f1d6899010a8e6d8f6e91a801a6b9d03f4.zip
Remove __ASSUME_TGKILL.
Diffstat (limited to 'nptl/sysdeps/pthread')
-rw-r--r--nptl/sysdeps/pthread/createthread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nptl/sysdeps/pthread/createthread.c b/nptl/sysdeps/pthread/createthread.c
index d58f8fa455..e8e10dcf73 100644
--- a/nptl/sysdeps/pthread/createthread.c
+++ b/nptl/sysdeps/pthread/createthread.c
@@ -109,13 +109,9 @@ do_clone (struct pthread *pd, const struct pthread_attr *attr,
 		 send it the cancellation signal.  */
 	      INTERNAL_SYSCALL_DECL (err2);
 	    err_out:
-#if __ASSUME_TGKILL
 	      (void) INTERNAL_SYSCALL (tgkill, err2, 3,
 				       THREAD_GETMEM (THREAD_SELF, pid),
 				       pd->tid, SIGCANCEL);
-#else
-	      (void) INTERNAL_SYSCALL (tkill, err2, 2, pd->tid, SIGCANCEL);
-#endif
 
 	      /* We do not free the stack here because the canceled thread
 		 itself will do this.  */