diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-08-10 02:05:42 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-08-10 02:05:42 +0000 |
commit | 6479496ad4d51f2c1b127610a4a0fd46c1404800 (patch) | |
tree | f4f06ab69b219251617dc68562f7bc1f887c01b5 /sysdeps | |
parent | c4adefbd065f2d73b1fd88fbc688c380dac158e5 (diff) | |
download | glibc-6479496ad4d51f2c1b127610a4a0fd46c1404800.tar glibc-6479496ad4d51f2c1b127610a4a0fd46c1404800.tar.gz glibc-6479496ad4d51f2c1b127610a4a0fd46c1404800.tar.bz2 glibc-6479496ad4d51f2c1b127610a4a0fd46c1404800.zip |
* sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct
register in test for error.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S b/sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S index 8d74d53a76..a950990627 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S +++ b/sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S @@ -38,7 +38,7 @@ ENTRY (sched_getcpu) movq $VSYSCALL_ADDR_vgetcpu, %rax callq *%rax - cmpq $-4095, %rdi + cmpq $-4095, %rax jae SYSCALL_ERROR_LABEL movl (%rsp), %eax |