aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/mips/kernel/syscalls/syscall_o32.tbl
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2019-10-02 18:59:49 +0000
committerPaul Burton <paul.burton@mips.com>2019-10-02 14:06:41 -0700
commit0671c5b84e9e0a6d42d22da9b5d093787ac1c5f3 (patch)
tree92310d7be641e7173eba924016b6d0345cb85c18 /arch/mips/kernel/syscalls/syscall_o32.tbl
parentMIPS: octeon: Include required header; fix octeon ethernet build (diff)
downloadwireguard-linux-0671c5b84e9e0a6d42d22da9b5d093787ac1c5f3.tar.xz
wireguard-linux-0671c5b84e9e0a6d42d22da9b5d093787ac1c5f3.zip
MIPS: Wire up clone3 syscall
Wire up the new clone3 syscall for MIPS, using save_static_function() to generate a wrapper that saves registers $s0-$s7 prior to invoking the generic sys_clone3 function just like we do for plain old clone. Tested atop 64r6el_defconfig using o32, n32 & n64 builds of the simple test program from: https://lore.kernel.org/lkml/20190716130631.tohj4ub54md25dys@brauner.io/ Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Christian Brauner <christian@brauner.io> Acked-by: Christian Brauner <christian.brauner@ubuntu.com> Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'arch/mips/kernel/syscalls/syscall_o32.tbl')
-rw-r--r--arch/mips/kernel/syscalls/syscall_o32.tbl2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/syscalls/syscall_o32.tbl b/arch/mips/kernel/syscalls/syscall_o32.tbl
index 9653591428ec..353539ea4140 100644
--- a/arch/mips/kernel/syscalls/syscall_o32.tbl
+++ b/arch/mips/kernel/syscalls/syscall_o32.tbl
@@ -422,4 +422,4 @@
432 o32 fsmount sys_fsmount
433 o32 fspick sys_fspick
434 o32 pidfd_open sys_pidfd_open
-# 435 reserved for clone3
+435 o32 clone3 __sys_clone3