tmp_suning_uos_patched/arch/openrisc/kernel
Stafford Horne e9e4d1fb45 openrisc: Add clone3 ABI wrapper
[ Upstream commit 433fe39f674d58bc7a3e8254a5d2ffc290b7e04e ]

Like fork and clone the clone3 syscall needs a wrapper to save callee
saved registers, which is required by the OpenRISC ABI.  This came up
after auditing code following a discussion with Rob Landley and Arnd
Bergmann [0].

Tested with the clone3 kselftests and there were no issues.

[0] https://lore.kernel.org/all/41206fc7-f8ce-98aa-3718-ba3e1431e320@landley.net/T/#m9c0cdb2703813b9df4da04cf6b30de1f1aa89944

Fixes: 07e83dfbe1 ("openrisc: Enable the clone3 syscall")
Cc: Rob Landley <rob@landley.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 10:54:06 +01:00
..
.gitignore
asm-offsets.c
dma.c openrisc: fix SMP tlb flush NULL pointer dereference 2021-11-18 14:04:25 +01:00
entry.S openrisc: Add clone3 ABI wrapper 2022-01-27 10:54:06 +01:00
head.S
irq.c
Makefile
module.c
or32_ksyms.c
process.c
prom.c
ptrace.c
setup.c
signal.c
smp.c openrisc: fix SMP tlb flush NULL pointer dereference 2021-11-18 14:04:25 +01:00
stacktrace.c
sync-timer.c
sys_call_table.c
time.c
traps.c
unwinder.c
vmlinux.h
vmlinux.lds.S