diff options
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S | 6 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S index 7faf441..218762a 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S @@ -190,7 +190,7 @@ __pthread_cond_timedwait: andl $(ROBUST_BIT|PI_BIT), %eax cmpl $PI_BIT, %eax jne 40f - + movl $(FUTEX_WAIT_REQUEUE_PI|FUTEX_PRIVATE_FLAG), %ecx /* The following only works like this because we only support two clocks, represented using a single bit. */ @@ -198,7 +198,7 @@ __pthread_cond_timedwait: /* XXX Need to implement using sete instead of a jump. */ jne 42f orl $FUTEX_CLOCK_REALTIME, %ecx - + /* Requeue-PI uses absolute timeout */ 42: leal (%ebp), %esi movl 28(%esp), %edx @@ -218,7 +218,7 @@ __pthread_cond_timedwait: cmpl $-ENOSYS, %eax jne 41f xorl %ecx, %ecx - + 40: subl $1, %ecx #ifdef __ASSUME_PRIVATE_FUTEX andl $FUTEX_PRIVATE_FLAG, %ecx diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S index a60aac3..8d0a555 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S @@ -107,7 +107,7 @@ __pthread_cond_wait: /* Reset the pi-requeued flag. */ 8: movl $0, 16(%esp) movl cond_futex(%ebx), %ebp - + /* Unlock. */ LOCK #if cond_lock == 0 @@ -133,7 +133,7 @@ __pthread_cond_wait: andl $(ROBUST_BIT|PI_BIT), %eax cmpl $PI_BIT, %eax jne 18f - + movl $(FUTEX_WAIT_REQUEUE_PI|FUTEX_PRIVATE_FLAG), %ecx movl %ebp, %edx xorl %esi, %esi @@ -152,7 +152,7 @@ __pthread_cond_wait: cmpl $-ENOSYS, %eax jne 19f xorl %ecx, %ecx - + 18: subl $1, %ecx #ifdef __ASSUME_PRIVATE_FUTEX andl $FUTEX_PRIVATE_FLAG, %ecx |