summaryrefslogtreecommitdiffstats
path: root/target/hexagon/cpu.h
diff options
context:
space:
mode:
authorTaylor Simpson2021-04-09 03:07:32 +0200
committerRichard Henderson2021-05-01 17:31:43 +0200
commit7d9ab2021f98b93a5af10f594daad6472b530e4d (patch)
treed3f5cfbc685f67a7f7c50957989b13cf4db1500a /target/hexagon/cpu.h
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 'target/hexagon/cpu.h')
-rw-r--r--target/hexagon/cpu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/hexagon/cpu.h b/target/hexagon/cpu.h
index e04eac591c..2855dd3881 100644
--- a/target/hexagon/cpu.h
+++ b/target/hexagon/cpu.h
@@ -127,11 +127,6 @@ typedef struct HexagonCPU {
target_ulong lldb_stack_adjust;
} HexagonCPU;
-static inline HexagonCPU *hexagon_env_get_cpu(CPUHexagonState *env)
-{
- return container_of(env, HexagonCPU, env);
-}
-
#include "cpu_bits.h"
#define cpu_signal_handler cpu_hexagon_signal_handler