(__lll_mutex_timedlock_wait): Fix a bad branch condition.
authordrepper <drepper>
Mon, 25 Oct 2004 19:06:44 +0000 (19:06 +0000)
committerdrepper <drepper>
Mon, 25 Oct 2004 19:06:44 +0000 (19:06 +0000)
nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S

index d87f089..bcb1561 100644 (file)
@@ -117,6 +117,7 @@ __lll_mutex_timedlock_wait:
        mov     #1, r3
        mov     #2, r4
        CMPXCHG (r3, @r8, r4, r2)
+       tst     r2, r2
        bt      8f
 
        mov     r8, r4