ad2daa85bd
We currently set x27 in compat_sys_sigreturn_wrapper and compat_sys_rt_sigreturn_wrapper, similarly to what we do with r8/why on 32-bit ARM, in an attempt to prevent sigreturns from being restarted. However, on arm64 we have always used pt_regs::syscallno for syscall restarting (for both native and compat tasks), and x27 is never inspected again before being overwritten in kernel_exit. This patch removes the pointless register assignments. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> |
||
---|---|---|
.. | ||
vdso | ||
.gitignore | ||
Makefile | ||
acpi.c | ||
alternative.c | ||
arm64ksyms.c | ||
armv8_deprecated.c | ||
asm-offsets.c | ||
cacheinfo.c | ||
cpu_errata.c | ||
cpu_ops.c | ||
cpufeature.c | ||
cpuidle.c | ||
cpuinfo.c | ||
debug-monitors.c | ||
efi-entry.S | ||
efi-stub.c | ||
efi.c | ||
entry-fpsimd.S | ||
entry-ftrace.S | ||
entry.S | ||
entry32.S | ||
fpsimd.c | ||
ftrace.c | ||
head.S | ||
hw_breakpoint.c | ||
hyp-stub.S | ||
image.h | ||
insn.c | ||
io.c | ||
irq.c | ||
jump_label.c | ||
kgdb.c | ||
kuser32.S | ||
module.c | ||
pci.c | ||
perf_event.c | ||
perf_regs.c | ||
process.c | ||
psci-call.S | ||
psci.c | ||
ptrace.c | ||
return_address.c | ||
setup.c | ||
signal.c | ||
signal32.c | ||
sleep.S | ||
smp.c | ||
smp_spin_table.c | ||
stacktrace.c | ||
suspend.c | ||
sys.c | ||
sys32.c | ||
sys_compat.c | ||
time.c | ||
topology.c | ||
trace-events-emulation.h | ||
traps.c | ||
vdso.c | ||
vmlinux.lds.S |