diff options
author | Richard Henderson | 2019-03-23 01:46:40 +0100 |
---|---|---|
committer | Richard Henderson | 2019-06-10 16:03:34 +0200 |
commit | dbefca236a464f942efae6319f68aa7663b20718 (patch) | |
tree | b0472d46f164e8ac74a42837b3c902a5f98b4701 /linux-user/cris | |
parent | target/cris: Reindent op_helper.c (diff) | |
download | qemu-dbefca236a464f942efae6319f68aa7663b20718.tar.gz qemu-dbefca236a464f942efae6319f68aa7663b20718.tar.xz qemu-dbefca236a464f942efae6319f68aa7663b20718.zip |
target/cris: Use env_cpu, env_archcpu
Cleanup in the boilerplate that each target must define.
Replace cris_env_get_cpu with env_archcpu. The combination
CPU(cris_env_get_cpu) should have used ENV_GET_CPU to begin;
use env_cpu now.
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/cris')
-rw-r--r-- | linux-user/cris/cpu_loop.c | 2 |
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; |