Skip to content
Commit e2c6cbd9 authored by Mathieu Desnoyers's avatar Mathieu Desnoyers Committed by David S. Miller
Browse files

sparc: sys32.S incorrect compat-layer splice() system call



I think arch/sparc/kernel/sys32.S has an incorrect splice definition:

SIGN2(sys32_splice, sys_splice, %o0, %o1)

The splice() prototype looks like :

       long splice(int fd_in, loff_t *off_in, int fd_out,
                   loff_t *off_out, size_t len, unsigned int flags);

So I think we should have :

SIGN2(sys32_splice, sys_splice, %o0, %o2)

Signed-off-by: default avatarMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a923c28f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment