Richard Henderson <richard.hender...@linaro.org> writes:
> From: Warner Losh <i...@bsdimp.com> > > All instances of rewind_if_in_safe_syscall are the same, differing only > in how the instruction point is fetched from the ucontext and the size > of the registers. Use host_signal_pc and new host_signal_set_pc > interfaces to fetch the pointer to the PC and adjust if needed. Delete > all the old copies of rewind_if_in_safe_syscall. > > Signed-off-by: Warner Losh <i...@bsdimp.com> > Reviewed-by: Richard Henderson <richard.hender...@linaro.org> > Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> > Message-Id: <20211113045603.60391-3-...@bsdimp.com> > [rth: include safe-syscall.h, simplify ifdefs] > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> -- Alex Bennée