aboutsummaryrefslogtreecommitdiff
path: root/linux-user/xtensa/cpu_loop.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-11-22 19:47:33 +0100
committerRichard Henderson <richard.henderson@linaro.org>2021-12-19 20:47:33 -0800
commitaf254a279255bd753c2b0b3a70fc39f09c724aab (patch)
treedd72525cdce8c047a20093ead4be8a6a399fb443 /linux-user/xtensa/cpu_loop.c
parent0a7e01904d407baa73c1baddbdfc9ccf2ace8356 (diff)
downloadqemu-af254a279255bd753c2b0b3a70fc39f09c724aab.zip
qemu-af254a279255bd753c2b0b3a70fc39f09c724aab.tar.gz
qemu-af254a279255bd753c2b0b3a70fc39f09c724aab.tar.bz2
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/xtensa/cpu_loop.c')
-rw-r--r--linux-user/xtensa/cpu_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/xtensa/cpu_loop.c b/linux-user/xtensa/cpu_loop.c
index a83490a..29cc6f3 100644
--- a/linux-user/xtensa/cpu_loop.c
+++ b/linux-user/xtensa/cpu_loop.c
@@ -184,7 +184,7 @@ void cpu_loop(CPUXtensaState *env)
env->regs[2] = ret;
break;
- case -TARGET_ERESTARTSYS:
+ case -QEMU_ERESTARTSYS:
env->pc -= 3;
break;