Revision 0671c5b84e9e0a6d42d22da9b5d093787ac1c5f3 authored by Paul Burton on 02 October 2019, 18:59:49 UTC, committed by Paul Burton on 02 October 2019, 21:06:41 UTC
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
1 parent 0228ecf
History
File Mode Size
Kconfig -rw-r--r-- 72.8 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 14.8 KB
do_mounts.h -rw-r--r-- 1.1 KB
do_mounts_initrd.c -rw-r--r-- 3.5 KB
do_mounts_md.c -rw-r--r-- 7.9 KB
do_mounts_rd.c -rw-r--r-- 8.1 KB
init_task.c -rw-r--r-- 5.3 KB
initramfs.c -rw-r--r-- 14.3 KB
main.c -rw-r--r-- 30.1 KB
noinitramfs.c -rw-r--r-- 873 bytes
version.c -rw-r--r-- 1.3 KB

back to top