Re: [PATCH v7 11/15] common-user: Move safe-syscall.* from linux-user

2021-12-14 Thread Philippe Mathieu-Daudé
On 12/14/21 01:26, Richard Henderson wrote: > Move linux-user safe-syscall.S and safe-syscall-error.c to common-user > so that bsd-user can also use it. Also move safe-syscall.h to > include/user/. Since there is nothing here that is related to the guest, > as opposed to the host, build it once.

[PATCH v7 11/15] common-user: Move safe-syscall.* from linux-user

2021-12-13 Thread Richard Henderson
Move linux-user safe-syscall.S and safe-syscall-error.c to common-user so that bsd-user can also use it. Also move safe-syscall.h to include/user/. Since there is nothing here that is related to the guest, as opposed to the host, build it once. Reviewed-by: Warner Losh Signed-off-by: Richard He