* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend

with a single instruction.
This commit is contained in:
Alexandre Oliva 2003-03-20 07:54:56 +00:00
parent 3d06657c53
commit a8a1e840a1

View file

@ -26,8 +26,7 @@
.text
ENTRY (__ioctl)
li v0, __NR_ioctl
dsll a1,a1,32
dsra a1,a1,32
sll a1,a1,0
syscall /* Do the system call. */
bne a3, zero, L(error)
ret