aboutsummaryrefslogtreecommitdiff
path: root/linux-user/xtensa/cpu_loop.c
diff options
context:
space:
mode:
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 a83490ab35..29cc6f3830 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;