about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
index 9d496f0a4c..bebadbfbb9 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
@@ -77,7 +77,7 @@ ENTRY (__clone)
 	bne-	cr1,L(parent)		/* The '-' is to minimise the race.  */
 
 	/* If CLONE_VM is set do not update the pid/tid field.  */
-	andi.	r0,r29,CLONE_VM
+	andi.	r0,r28,CLONE_VM
 	bne+	cr0,L(oldpid)
 
 	DO_CALL(SYS_ify(getpid))