(clear_once_control): Load mutex address in correct register.
authordrepper <drepper>
Mon, 10 Feb 2003 23:41:27 +0000 (23:41 +0000)
committerdrepper <drepper>
Mon, 10 Feb 2003 23:41:27 +0000 (23:41 +0000)
nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S

index 62a1ec2..9c4647c 100644 (file)
@@ -147,8 +147,8 @@ clear_once_control:
        pushl   %esi
        pushl   %ebx
 
-       movl    12(%esp), %eax
-       movl    $0, (%eax)
+       movl    12(%esp), %ebx
+       movl    $0, (%ebx)
 
        xorl    %esi, %esi
        movl    $0x7fffffff, %edx