aboutsummaryrefslogtreecommitdiff
path: root/linux-user/cris/cpu_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/cris/cpu_loop.c')
-rw-r--r--linux-user/cris/cpu_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/cris/cpu_loop.c b/linux-user/cris/cpu_loop.c
index 7ec36cb0b5..86e711108d 100644
--- a/linux-user/cris/cpu_loop.c
+++ b/linux-user/cris/cpu_loop.c
@@ -23,7 +23,7 @@
void cpu_loop(CPUCRISState *env)
{
- CPUState *cs = CPU(cris_env_get_cpu(env));
+ CPUState *cs = env_cpu(env);
int trapnr, ret;
target_siginfo_t info;