diff options
author | Kars de Jong <jongk@linux-m68k.org> | 2019-11-24 20:52:25 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2020-01-12 16:49:20 +0100 |
commit | e8bb2a2a1d51511e6b3f7e08125d52ec73c11139 (patch) | |
tree | 0a99bdc9e0a44185c4f2902054d771e8cfe80147 /arch/m68k/kernel/syscalls | |
parent | Linux 5.5-rc3 (diff) | |
download | linux-e8bb2a2a1d51511e6b3f7e08125d52ec73c11139.tar.xz linux-e8bb2a2a1d51511e6b3f7e08125d52ec73c11139.zip |
m68k: Wire up clone3() syscall
Wire up the clone3() syscall for m68k. The special entry point is done in
assembler as was done for clone() as well. This is needed because all
registers need to be saved. The C wrapper then calls the generic
sys_clone3() with the correct arguments.
Tested on A1200 using the simple test program from:
https://lore.kernel.org/lkml/20190716130631.tohj4ub54md25dys@brauner.io/
Signed-off-by: Kars de Jong <jongk@linux-m68k.org>
Link: https://lore.kernel.org/r/20191124195225.31230-1-jongk@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel/syscalls')
-rw-r--r-- | arch/m68k/kernel/syscalls/syscall.tbl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/kernel/syscalls/syscall.tbl b/arch/m68k/kernel/syscalls/syscall.tbl index a88a285a0e5f..a00a5d0db602 100644 --- a/arch/m68k/kernel/syscalls/syscall.tbl +++ b/arch/m68k/kernel/syscalls/syscall.tbl @@ -434,4 +434,4 @@ 432 common fsmount sys_fsmount 433 common fspick sys_fspick 434 common pidfd_open sys_pidfd_open -# 435 reserved for clone3 +435 common clone3 __sys_clone3 |