summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-12-15 09:35:48 +0000
committerJakub Jelinek <jakub@redhat.com>2004-12-15 09:35:48 +0000
commitbefe97e0d0e019ed913a2dddee77c62662349aec (patch)
treeb97e4ff16e871dcb80f09cda0bb861243e0a95ab /sysdeps/unix/sysv
parent0d60d7de5db10af7b1c1574520d3ab3c0f64d530 (diff)
Sync from HEAD once again.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
index be069c90c8..61a35a2f79 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
@@ -92,9 +92,9 @@ ENTRY (BP_SYM (__clone))
mr r1,r30
#ifdef RESET_PID
- andis. r0,r28,1 /* This is & CLONE_THREAD */
+ rldicl. r0,r28,48,63 /* This is & CLONE_THREAD */
bne+ r0,L(oldpid)
- andi. r0,r28,CLONE_VM
+ rldicl. r0,r28,56,63 /* This is & CLONE_VM */
li r3,-1
bne- r0,L(nomoregetpid)
DO_CALL(SYS_ify(getpid))