aboutsummaryrefslogtreecommitdiff
path: root/linux-user/alpha/cpu_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/alpha/cpu_loop.c')
-rw-r--r--linux-user/alpha/cpu_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/alpha/cpu_loop.c b/linux-user/alpha/cpu_loop.c
index 4029849d5c..ce9b251ce3 100644
--- a/linux-user/alpha/cpu_loop.c
+++ b/linux-user/alpha/cpu_loop.c
@@ -98,7 +98,7 @@ void cpu_loop(CPUAlphaState *env)
env->ir[IR_A2], env->ir[IR_A3],
env->ir[IR_A4], env->ir[IR_A5],
0, 0);
- if (sysret == -TARGET_ERESTARTSYS) {
+ if (sysret == -QEMU_ERESTARTSYS) {
env->pc -= 4;
break;
}