summaryrefslogtreecommitdiffstats
path: root/linux-user/sh4/cpu_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/sh4/cpu_loop.c')
-rw-r--r--linux-user/sh4/cpu_loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/sh4/cpu_loop.c b/linux-user/sh4/cpu_loop.c
index ac9b01840c..3290f6445c 100644
--- a/linux-user/sh4/cpu_loop.c
+++ b/linux-user/sh4/cpu_loop.c
@@ -50,9 +50,9 @@ void cpu_loop(CPUSH4State *env)
env->gregs[0],
env->gregs[1],
0, 0);
- if (ret == -TARGET_ERESTARTSYS) {
+ if (ret == -QEMU_ERESTARTSYS) {
env->pc -= 2;
- } else if (ret != -TARGET_QEMU_ESIGRETURN) {
+ } else if (ret != -QEMU_ESIGRETURN) {
env->gregs[0] = ret;
}
break;