]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: sys32.S incorrect compat-layer splice() system call
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 19 Aug 2009 03:16:55 +0000 (20:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Aug 2009 03:16:55 +0000 (20:16 -0700)
commit40fb3073123450dc2448ffeaf4821f1ced6ab076
tree02f966384b0451d81a00f804d9fba6e0360bc9a5
parent92c7303b9988d2a3ec6a2386670e05e5a0d29120
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: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/sys32.S