aboutsummaryrefslogtreecommitdiff
path: root/linux-user/hexagon/cpu_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/hexagon/cpu_loop.c')
-rw-r--r--linux-user/hexagon/cpu_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/hexagon/cpu_loop.c b/linux-user/hexagon/cpu_loop.c
index 9a68ca0..bc34f5d 100644
--- a/linux-user/hexagon/cpu_loop.c
+++ b/linux-user/hexagon/cpu_loop.c
@@ -25,7 +25,7 @@
void cpu_loop(CPUHexagonState *env)
{
- CPUState *cs = CPU(hexagon_env_get_cpu(env));
+ CPUState *cs = env_cpu(env);
int trapnr, signum, sigcode;
target_ulong sigaddr;
target_ulong syscallnum;