diff options
| author | Richard Henderson | 2021-11-22 19:47:33 +0100 |
|---|---|---|
| committer | Richard Henderson | 2021-12-20 05:47:33 +0100 |
| commit | af254a279255bd753c2b0b3a70fc39f09c724aab (patch) | |
| tree | dd72525cdce8c047a20093ead4be8a6a399fb443 /linux-user/host/ppc64 | |
| parent | linux-user: Remove HAVE_SAFE_SYSCALL and hostdep.h (diff) | |
| download | qemu-af254a279255bd753c2b0b3a70fc39f09c724aab.tar.gz qemu-af254a279255bd753c2b0b3a70fc39f09c724aab.tar.xz qemu-af254a279255bd753c2b0b3a70fc39f09c724aab.zip | |
linux-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS
This value is fully internal to qemu, and so is not a TARGET define.
We use this as an extra marker for both host and target errno.
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/host/ppc64')
| -rw-r--r-- | linux-user/host/ppc64/safe-syscall.inc.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/host/ppc64/safe-syscall.inc.S b/linux-user/host/ppc64/safe-syscall.inc.S index 3a640cfc04..69d3c70094 100644 --- a/linux-user/host/ppc64/safe-syscall.inc.S +++ b/linux-user/host/ppc64/safe-syscall.inc.S @@ -78,7 +78,7 @@ safe_syscall_end: /* code path when we didn't execute the syscall */ 2: ld 14, 16(1) /* restore r14 */ - addi 3, 0, TARGET_ERESTARTSYS + addi 3, 0, QEMU_ERESTARTSYS /* code path setting errno */ 1: b safe_syscall_set_errno_tail |
