Home
last modified time | relevance | path

Searched hist:"2 c6822cd" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/target/s390x/
H A Ddiag.c2c6822cd Mon Oct 09 05:42:42 CDT 2023 Philippe Mathieu-Daudé <philmd@linaro.org> target/s390x: Use env_archcpu() in handle_diag_308()

When CPUArchState* is available (here CPUS390XState*), we
can use the fast env_archcpu() macro to get ArchCPU* (here
S390CPU*). The QOM cast S390_CPU() macro will be slower when
building with --enable-qom-cast-debug.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20231009110239.66778-4-philmd@linaro.org>