mirror of git://sourceware.org/git/glibc.git
* sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct
register in test for error.
This commit is contained in:
parent
c4adefbd06
commit
6479496ad4
|
|
@ -1,5 +1,8 @@
|
|||
2007-08-09 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct
|
||||
register in test for error.
|
||||
|
||||
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_CLOEXEC): Define.
|
||||
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_CLOEXEC): Likewise.
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue