diff options
author | Richard Henderson | 2019-03-23 01:51:33 +0100 |
---|---|---|
committer | Richard Henderson | 2019-06-10 16:03:34 +0200 |
commit | 25f327081b4f63290cce0607512e4627cbfd408e (patch) | |
tree | 9d182af877df67dd43764439cb93e8d25e62c9ca /linux-user/hppa | |
parent | target/cris: Use env_cpu, env_archcpu (diff) | |
download | qemu-25f327081b4f63290cce0607512e4627cbfd408e.tar.gz qemu-25f327081b4f63290cce0607512e4627cbfd408e.tar.xz qemu-25f327081b4f63290cce0607512e4627cbfd408e.zip |
target/hppa: Use env_cpu, env_archcpu
Cleanup in the boilerplate that each target must define.
Replace hppa_env_get_cpu with env_archcpu. The combination
CPU(hppa_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/hppa')
-rw-r--r-- | linux-user/hppa/cpu_loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/hppa/cpu_loop.c b/linux-user/hppa/cpu_loop.c index 880955fdef..9915456a1d 100644 --- a/linux-user/hppa/cpu_loop.c +++ b/linux-user/hppa/cpu_loop.c @@ -105,7 +105,7 @@ static abi_ulong hppa_lws(CPUHPPAState *env) void cpu_loop(CPUHPPAState *env) { - CPUState *cs = CPU(hppa_env_get_cpu(env)); + CPUState *cs = env_cpu(env); target_siginfo_t info; abi_ulong ret; int trapnr; |