summaryrefslogtreecommitdiffstats
path: root/linux-user/host/s390x
diff options
context:
space:
mode:
authorRichard Henderson2021-11-22 19:47:33 +0100
committerRichard Henderson2021-12-20 05:47:33 +0100
commitaf254a279255bd753c2b0b3a70fc39f09c724aab (patch)
treedd72525cdce8c047a20093ead4be8a6a399fb443 /linux-user/host/s390x
parentlinux-user: Remove HAVE_SAFE_SYSCALL and hostdep.h (diff)
downloadqemu-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/s390x')
-rw-r--r--linux-user/host/s390x/safe-syscall.inc.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/host/s390x/safe-syscall.inc.S b/linux-user/host/s390x/safe-syscall.inc.S
index 899dab39e9..66f84385a2 100644
--- a/linux-user/host/s390x/safe-syscall.inc.S
+++ b/linux-user/host/s390x/safe-syscall.inc.S
@@ -91,7 +91,7 @@ safe_syscall_end:
2: lg %r15,0(%r15) /* load back chain */
.cfi_adjust_cfa_offset -160
lmg %r6,%r15,48(%r15) /* load saved registers */
- lghi %r2, TARGET_ERESTARTSYS
+ lghi %r2, QEMU_ERESTARTSYS
jg safe_syscall_set_errno_tail
.cfi_endproc