diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2021-11-15 22:08:23 +0300 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2021-12-19 20:47:33 -0800 |
| commit | 0a7e01904d407baa73c1baddbdfc9ccf2ace8356 (patch) | |
| tree | 5ba3470a147e447160e7d9403469b020940a2f92 /linux-user/safe-syscall-error.c | |
| parent | 95c021dac8358b9dffe4a2c05dea4ccce589ac47 (diff) | |
| download | focaccia-qemu-0a7e01904d407baa73c1baddbdfc9ccf2ace8356.tar.gz focaccia-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 |