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/safe-syscall-error.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/safe-syscall-error.c')
-rw-r--r-- | linux-user/safe-syscall-error.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/linux-user/safe-syscall-error.c b/linux-user/safe-syscall-error.c index d7e2700f81..55d95ac39a 100644 --- a/linux-user/safe-syscall-error.c +++ b/linux-user/safe-syscall-error.c @@ -10,10 +10,8 @@ */ #include "qemu/osdep.h" -#include "hostdep.h" #include "safe-syscall.h" -#ifdef HAVE_SAFE_SYSCALL /* * This is intended to be invoked via tail-call on the error path * from the assembly in host/arch/safe-syscall.inc.S. This takes @@ -25,4 +23,3 @@ long safe_syscall_set_errno_tail(int value) errno = value; return -1; } -#endif |