MIPS: O32 compat/N32: Fix to use compat syscall wrappers for AIO syscalls.
authorMichel Thebeau <michel.thebeau@windriver.com>
Tue, 28 Sep 2010 18:15:37 +0000 (14:15 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 19 Oct 2010 17:32:41 +0000 (18:32 +0100)
[Ralf: Michel's original patch only fixed N32; I replicated the same fix
for O32.]

Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
Cc: paul.gortmaker@windriver.com
Cc: bruce.ashfield@windriver.com
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-o32.S

index a3d66137731ac24386972c82426a4679d9ff9be3..79c27d1f5f9e09735d405b45d9ad84de1805db99 100644 (file)
@@ -320,10 +320,10 @@ EXPORT(sysn32_call_table)
        PTR     sys_cacheflush
        PTR     sys_cachectl
        PTR     sys_sysmips
-       PTR     sys_io_setup                    /* 6200 */
+       PTR     compat_sys_io_setup                     /* 6200 */
        PTR     sys_io_destroy
-       PTR     sys_io_getevents
-       PTR     sys_io_submit
+       PTR     compat_sys_io_getevents
+       PTR     compat_sys_io_submit
        PTR     sys_io_cancel
        PTR     sys_exit_group                  /* 6205 */
        PTR     sys_lookup_dcookie
index 813689ef23847c6a2db230ebd6dcae60e0ff79f6..c2aa30ad97027ac430b014207b00085fa10c27f3 100644 (file)
@@ -444,10 +444,10 @@ sys_call_table:
        PTR     compat_sys_futex
        PTR     compat_sys_sched_setaffinity
        PTR     compat_sys_sched_getaffinity    /* 4240 */
-       PTR     sys_io_setup
+       PTR     compat_sys_io_setup
        PTR     sys_io_destroy
-       PTR     sys_io_getevents
-       PTR     sys_io_submit
+       PTR     compat_sys_io_getevents
+       PTR     compat_sys_io_submit
        PTR     sys_io_cancel                   /* 4245 */
        PTR     sys_exit_group
        PTR     sys32_lookup_dcookie