(sem_post): Avoid unnecessary addr32 prefix.
authorUlrich Drepper <drepper@redhat.com>
Wed, 30 Jan 2008 17:43:50 +0000 (17:43 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 30 Jan 2008 17:43:50 +0000 (17:43 +0000)
nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S

index b4014c6..979b1bf 100644 (file)
@@ -37,7 +37,7 @@ sem_post:
 #endif
 0:     cmpl    $SEM_VALUE_MAX, %eax
        je      3f
-       leal    1(%eax), %esi
+       leal    1(%rax), %esi
        LOCK
 #if VALUE == 0
        cmpxchgl %esi, (%rdi)