Richard Henderson <[email protected]> writes:
> From: Warner Losh <[email protected]> > > 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 <[email protected]> > Reviewed-by: Richard Henderson <[email protected]> > Reviewed-by: Philippe Mathieu-Daudé <[email protected]> > Message-Id: <[email protected]> > [rth: include safe-syscall.h, simplify ifdefs] > Signed-off-by: Richard Henderson <[email protected]> Reviewed-by: Alex Bennée <[email protected]> -- Alex Bennée
