summaryrefslogtreecommitdiffstats
path: root/linux-user/sparc/cpu_loop.c
diff options
context:
space:
mode:
authorRichard Henderson2021-11-17 14:14:52 +0100
committerRichard Henderson2021-12-20 05:47:33 +0100
commit57a0c9384c12b7cc13d168fe5bff1db244c72151 (patch)
tree46a3476ecd3d3e814b45462bd831e3354c5bc702 /linux-user/sparc/cpu_loop.c
parentbsd-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS (diff)
downloadqemu-57a0c9384c12b7cc13d168fe5bff1db244c72151.tar.gz
qemu-57a0c9384c12b7cc13d168fe5bff1db244c72151.tar.xz
qemu-57a0c9384c12b7cc13d168fe5bff1db244c72151.zip
linux-user: Rename TARGET_QEMU_ESIGRETURN to QEMU_ESIGRETURN
This value is fully internal to qemu, and so is not a TARGET define. 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/sparc/cpu_loop.c')
-rw-r--r--linux-user/sparc/cpu_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/sparc/cpu_loop.c b/linux-user/sparc/cpu_loop.c
index 529337c5e0..8765ab6020 100644
--- a/linux-user/sparc/cpu_loop.c
+++ b/linux-user/sparc/cpu_loop.c
@@ -181,7 +181,7 @@ void cpu_loop (CPUSPARCState *env)
env->regwptr[2], env->regwptr[3],
env->regwptr[4], env->regwptr[5],
0, 0);
- if (ret == -QEMU_ERESTARTSYS || ret == -TARGET_QEMU_ESIGRETURN) {
+ if (ret == -QEMU_ERESTARTSYS || ret == -QEMU_ESIGRETURN) {
break;
}
if ((abi_ulong)ret >= (abi_ulong)(-515)) {