about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/x86_64/clone.S
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-05-14 10:16:27 -0700
committerRoland McGrath <roland@hack.frob.com>2014-05-14 10:16:27 -0700
commit941d7dfd247bc116b89ec97d530d618b5862a80f (patch)
tree152cede4caef7c9759b8c468900778494e483f23 /sysdeps/unix/sysv/linux/x86_64/clone.S
parent1b731c35e6ed316076d9a61d3e8d683cb9255523 (diff)
downloadglibc-941d7dfd247bc116b89ec97d530d618b5862a80f.tar.gz
glibc-941d7dfd247bc116b89ec97d530d618b5862a80f.tar.xz
glibc-941d7dfd247bc116b89ec97d530d618b5862a80f.zip
x86: Consolidate NPTL/non versions of clone
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/clone.S')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/clone.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/clone.S b/sysdeps/unix/sysv/linux/x86_64/clone.S
index 0508730d83..2b71c1b240 100644
--- a/sysdeps/unix/sysv/linux/x86_64/clone.S
+++ b/sysdeps/unix/sysv/linux/x86_64/clone.S
@@ -92,7 +92,6 @@ L(thread_start):
 	   the outermost frame obviously.  */
 	xorl	%ebp, %ebp
 
-#ifdef RESET_PID
 	testq	$CLONE_THREAD, %rdi
 	jne	1f
 	testq	$CLONE_VM, %rdi
@@ -103,7 +102,6 @@ L(thread_start):
 2:	movl	%eax, %fs:PID
 	movl	%eax, %fs:TID
 1:
-#endif
 
 	/* Set up arguments for the function call.  */
 	popq	%rax		/* Function to call.  */