summaryrefslogtreecommitdiffstats
path: root/linux-user/hexagon
diff options
context:
space:
mode:
authorTaylor Simpson2021-04-09 03:07:32 +0200
committerRichard Henderson2021-05-01 17:31:43 +0200
commit7d9ab2021f98b93a5af10f594daad6472b530e4d (patch)
treed3f5cfbc685f67a7f7c50957989b13cf4db1500a /linux-user/hexagon
parentHexagon (target/hexagon) remove unnecessary inline directives (diff)
downloadqemu-7d9ab2021f98b93a5af10f594daad6472b530e4d.tar.gz
qemu-7d9ab2021f98b93a5af10f594daad6472b530e4d.tar.xz
qemu-7d9ab2021f98b93a5af10f594daad6472b530e4d.zip
Hexagon (target/hexagon) use env_archcpu and env_cpu
Remove hexagon_env_get_cpu and replace with env_archcpu Replace CPU(hexagon_env_get_cpu(env)) with env_cpu(env) Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <1617930474-31979-5-git-send-email-tsimpson@quicinc.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/hexagon')
-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 9a68ca05c3..bc34f5d7c3 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;