target/s390x: Use env_cpu, env_archcpu
commitdc79e928698567b14e6638c4c9f1e43dc386f1d8
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 23 Mar 2019 02:21:48 +0000 (22 19:21 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 10 Jun 2019 14:03:42 +0000 (10 07:03 -0700)
tree26b73cb1112ea0cee56cf174b566ccefd6717e95
parent3109cd98a6c0c618189b38a83a8aa29cb20acbce
target/s390x: Use env_cpu, env_archcpu

Cleanup in the boilerplate that each target must define.
Replace s390_env_get_cpu with env_archcpu.  The combination
CPU(s390_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>
13 files changed:
linux-user/s390x/cpu_loop.c
target/s390x/cc_helper.c
target/s390x/cpu.h
target/s390x/diag.c
target/s390x/excp_helper.c
target/s390x/fpu_helper.c
target/s390x/helper.c
target/s390x/int_helper.c
target/s390x/interrupt.c
target/s390x/mem_helper.c
target/s390x/misc_helper.c
target/s390x/mmu_helper.c
target/s390x/sigp.c