aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-12-03 11:33:17 -0500
committerRalf Baechle <ralf@linux-mips.org>2008-12-04 12:47:28 -0500
commit08d30879a6d3ce399f48def7c494853b5b5f2062 (patch)
tree85d87735ad7538c9166421405275eb36f0fc50aa /arch/mips/kernel
parent566a3b95579c123f7711e2f98d078f370746046b (diff)
MIPS: o32: Fix number of arguments to splice(2).
The syscall code was assuming splice only takes 4 arguments so no stack arguments were being copied from the userspace stack to the kernel stack. As the result splice was likely to fail with EINVAL. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/scall32-o32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
index 34a4dbd76f24..d0916a55cd77 100644
--- a/arch/mips/kernel/scall32-o32.S
+++ b/arch/mips/kernel/scall32-o32.S
@@ -624,7 +624,7 @@ einval: li v0, -ENOSYS
624 sys sys_pselect6 6 624 sys sys_pselect6 6
625 sys sys_ppoll 5 625 sys sys_ppoll 5
626 sys sys_unshare 1 626 sys sys_unshare 1
627 sys sys_splice 4 627 sys sys_splice 6
628 sys sys_sync_file_range 7 /* 4305 */ 628 sys sys_sync_file_range 7 /* 4305 */
629 sys sys_tee 4 629 sys sys_tee 4
630 sys sys_vmsplice 4 630 sys sys_vmsplice 4