Skip to content

Commit

Permalink
Fix whitespaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Dec 13, 2009
1 parent 7595669 commit 5a9e37d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,15 @@ __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. */
testl $1, cond_nwaiters(%ebx)
/* 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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5a9e37d

Please sign in to comment.