MIPS: Hook up name_to_handle_at, open_by_handle_at and clock_adjtime syscalls.
These system calls we recently added. 32-bit ABIs need compat handling for sys_clock_adjtime(). o32 also needs compat handling for sys_open_by_handle_at(); Signed-off-by: David Daney <ddaney@caviumnetworks.com> To: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2165/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:

committed by
Ralf Baechle

parent
fbaa4e2a19
commit
84ed94323e
@@ -586,6 +586,9 @@ einval: li v0, -ENOSYS
|
||||
sys sys_fanotify_init 2
|
||||
sys sys_fanotify_mark 6
|
||||
sys sys_prlimit64 4
|
||||
sys sys_name_to_handle_at 5
|
||||
sys sys_open_by_handle_at 3 /* 4340 */
|
||||
sys sys_clock_adjtime 2
|
||||
.endm
|
||||
|
||||
/* We pre-compute the number of _instruction_ bytes needed to
|
||||
|
@@ -425,4 +425,7 @@ sys_call_table:
|
||||
PTR sys_fanotify_init /* 5295 */
|
||||
PTR sys_fanotify_mark
|
||||
PTR sys_prlimit64
|
||||
PTR sys_name_to_handle_at
|
||||
PTR sys_open_by_handle_at
|
||||
PTR sys_clock_adjtime /* 5300 */
|
||||
.size sys_call_table,.-sys_call_table
|
||||
|
@@ -425,4 +425,7 @@ EXPORT(sysn32_call_table)
|
||||
PTR sys_fanotify_init /* 6300 */
|
||||
PTR sys_fanotify_mark
|
||||
PTR sys_prlimit64
|
||||
PTR sys_name_to_handle_at
|
||||
PTR sys_open_by_handle_at
|
||||
PTR compat_sys_clock_adjtime /* 6305 */
|
||||
.size sysn32_call_table,.-sysn32_call_table
|
||||
|
@@ -543,4 +543,7 @@ sys_call_table:
|
||||
PTR sys_fanotify_init
|
||||
PTR sys_32_fanotify_mark
|
||||
PTR sys_prlimit64
|
||||
PTR sys_name_to_handle_at
|
||||
PTR compat_sys_open_by_handle_at /* 4340 */
|
||||
PTR compat_sys_clock_adjtime
|
||||
.size sys_call_table,.-sys_call_table
|
||||
|
Reference in New Issue
Block a user