Skip to content

Commit e2cc502

Browse files
michel-thebeau-WRralfbaechle
authored andcommitted
MIPS: O32 compat/N32: Fix to use compat syscall wrappers for AIO syscalls.
[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>
1 parent d39e072 commit e2cc502

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

arch/mips/kernel/scall64-n32.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,10 @@ EXPORT(sysn32_call_table)
320320
PTR sys_cacheflush
321321
PTR sys_cachectl
322322
PTR sys_sysmips
323-
PTR sys_io_setup /* 6200 */
323+
PTR compat_sys_io_setup /* 6200 */
324324
PTR sys_io_destroy
325-
PTR sys_io_getevents
326-
PTR sys_io_submit
325+
PTR compat_sys_io_getevents
326+
PTR compat_sys_io_submit
327327
PTR sys_io_cancel
328328
PTR sys_exit_group /* 6205 */
329329
PTR sys_lookup_dcookie

arch/mips/kernel/scall64-o32.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,10 @@ sys_call_table:
444444
PTR compat_sys_futex
445445
PTR compat_sys_sched_setaffinity
446446
PTR compat_sys_sched_getaffinity /* 4240 */
447-
PTR sys_io_setup
447+
PTR compat_sys_io_setup
448448
PTR sys_io_destroy
449-
PTR sys_io_getevents
450-
PTR sys_io_submit
449+
PTR compat_sys_io_getevents
450+
PTR compat_sys_io_submit
451451
PTR sys_io_cancel /* 4245 */
452452
PTR sys_exit_group
453453
PTR sys32_lookup_dcookie

0 commit comments

Comments
 (0)