OpenCloudOS-Kernel/arch/powerpc/kernel/syscalls
Michael Ellerman cee3536d24 powerpc: Wire up clone3 syscall
Wire up the new clone3 syscall added in commit 7f192e3cd3 ("fork:
add clone3").

This requires a ppc_clone3 wrapper, in order to save the non-volatile
GPRs before calling into the generic syscall code. Otherwise we hit
the BUG_ON in CHECK_FULL_REGS in copy_thread().

Lightly tested using Christian's test code on a Power8 LE VM.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Christian Brauner <christian@brauner.io>
Link: https://lore.kernel.org/r/20190724140259.23554-1-mpe@ellerman.id.au
2019-07-29 09:34:27 +10:00
..
Makefile powerpc: add system call table generation support 2018-12-21 14:46:50 +11:00
syscall.tbl powerpc: Wire up clone3 syscall 2019-07-29 09:34:27 +10:00
syscallhdr.sh powerpc: add system call table generation support 2018-12-21 14:46:50 +11:00
syscalltbl.sh powerpc: remove nargs from __SYSCALL 2019-03-02 14:43:05 +11:00