aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-08-10 02:05:42 +0000
committerUlrich Drepper <drepper@redhat.com>2007-08-10 02:05:42 +0000
commit6479496ad4d51f2c1b127610a4a0fd46c1404800 (patch)
treef4f06ab69b219251617dc68562f7bc1f887c01b5 /sysdeps
parentc4adefbd065f2d73b1fd88fbc688c380dac158e5 (diff)
downloadglibc-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.S2
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