diff options
author | Richard Henderson | 2021-11-15 20:08:23 +0100 |
---|---|---|
committer | Richard Henderson | 2021-12-20 05:47:33 +0100 |
commit | 0a7e01904d407baa73c1baddbdfc9ccf2ace8356 (patch) | |
tree | 5ba3470a147e447160e7d9403469b020940a2f92 /linux-user/signal.c | |
parent | linux-user/host/sparc64: Add safe-syscall.inc.S (diff) | |
download | qemu-0a7e01904d407baa73c1baddbdfc9ccf2ace8356.tar.gz qemu-0a7e01904d407baa73c1baddbdfc9ccf2ace8356.tar.xz qemu-0a7e01904d407baa73c1baddbdfc9ccf2ace8356.zip |
linux-user: Remove HAVE_SAFE_SYSCALL and hostdep.h
All supported hosts now define HAVE_SAFE_SYSCALL, so remove
the ifdefs. This leaves hostdep.h empty, so remove it.
Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/signal.c')
-rw-r--r-- | linux-user/signal.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c index 6d5e5b698c..ca8f24b9ec 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -798,7 +798,6 @@ int queue_signal(CPUArchState *env, int sig, int si_type, /* Adjust the signal context to rewind out of safe-syscall if we're in it */ static inline void rewind_if_in_safe_syscall(void *puc) { -#ifdef HAVE_SAFE_SYSCALL ucontext_t *uc = (ucontext_t *)puc; uintptr_t pcreg = host_signal_pc(uc); @@ -806,7 +805,6 @@ static inline void rewind_if_in_safe_syscall(void *puc) && pcreg < (uintptr_t)safe_syscall_end) { host_signal_set_pc(uc, (uintptr_t)safe_syscall_start); } -#endif } static void host_signal_handler(int host_sig, siginfo_t *info, void *puc) |