Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct
Browse files Browse the repository at this point in the history
	register in test for error.
  • Loading branch information
Ulrich Drepper committed Aug 10, 2007
1 parent c4adefb commit 6479496
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6479496

Please sign in to comment.