aboutsummaryrefslogtreecommitdiff
path: root/linux-user/tilegx/cpu_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/tilegx/cpu_loop.c')
-rw-r--r--linux-user/tilegx/cpu_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/tilegx/cpu_loop.c b/linux-user/tilegx/cpu_loop.c
index 4f39eb9ad3..d4abe29dcd 100644
--- a/linux-user/tilegx/cpu_loop.c
+++ b/linux-user/tilegx/cpu_loop.c
@@ -206,7 +206,7 @@ static void do_fetch(CPUTLGState *env, int trapnr, bool quad)
void cpu_loop(CPUTLGState *env)
{
- CPUState *cs = CPU(tilegx_env_get_cpu(env));
+ CPUState *cs = env_cpu(env);
int trapnr;
while (1) {