diff options
| author | Vineet Gupta <vgupta@synopsys.com> | 2020-01-15 16:08:12 -0800 |
|---|---|---|
| committer | Vineet Gupta <vgupta@synopsys.com> | 2020-01-15 16:08:12 -0800 |
| commit | bd71c453db91ecb464405411f2821d040f2a0d44 (patch) | |
| tree | 5994f5934056c71e0fc87d32d3cac17a8fcc6a95 /arch/arc/kernel/entry.S | |
| parent | 7980dff398f86a618f502378fa27cf7e77449afa (diff) | |
ARC: wireup clone3 syscall
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/entry.S')
| -rw-r--r-- | arch/arc/kernel/entry.S | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S index 72be01270e24..7e5109dab4e8 100644 --- a/arch/arc/kernel/entry.S +++ b/arch/arc/kernel/entry.S @@ -35,6 +35,18 @@ ENTRY(sys_clone_wrapper) b .Lret_from_system_call END(sys_clone_wrapper) +ENTRY(sys_clone3_wrapper) + SAVE_CALLEE_SAVED_USER + bl @sys_clone3 + DISCARD_CALLEE_SAVED_USER + + GET_CURR_THR_INFO_FLAGS r10 + btst r10, TIF_SYSCALL_TRACE + bnz tracesys_exit + + b .Lret_from_system_call +END(sys_clone3_wrapper) + ENTRY(ret_from_fork) ; when the forked child comes here from the __switch_to function ; r0 has the last task pointer. |
