MIPS: 64-bit: vmsplice needs to use the compat wrapper for o32 and N32.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 3 Dec 2008 17:03:27 +0000 (17:03 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 4 Dec 2008 17:47:28 +0000 (17:47 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-o32.S

index e266b3a..30f3b63 100644 (file)
@@ -390,7 +390,7 @@ EXPORT(sysn32_call_table)
        PTR     sys_splice
        PTR     sys_sync_file_range
        PTR     sys_tee
-       PTR     sys_vmsplice                    /* 6270 */
+       PTR     compat_sys_vmsplice             /* 6270 */
        PTR     sys_move_pages
        PTR     compat_sys_set_robust_list
        PTR     compat_sys_get_robust_list
index facb41a..3d55e3b 100644 (file)
@@ -510,7 +510,7 @@ sys_call_table:
        PTR     sys_splice
        PTR     sys32_sync_file_range           /* 4305 */
        PTR     sys_tee
-       PTR     sys_vmsplice
+       PTR     compat_sys_vmsplice
        PTR     compat_sys_move_pages
        PTR     compat_sys_set_robust_list
        PTR     compat_sys_get_robust_list      /* 4310 */