]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Prefer fast cpu_env() over slower CPU QOM cast macro
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 29 Jan 2024 16:45:03 +0000 (17:45 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 12 Mar 2024 11:04:24 +0000 (12:04 +0100)
commit794511bc51bc89f384063103653e5f40c75cd49e
tree40a3bfeacf2c870cb079db006e9460ef1fd977d6
parent074bd799e73a23b0ce05ed45f2668ceb31db144e
target/ppc: Prefer fast cpu_env() over slower CPU QOM cast macro

Mechanical patch produced running the command documented
in scripts/coccinelle/cpu_env.cocci_template header.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240129164514.73104-22-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
12 files changed:
hw/ppc/mpc8544_guts.c
hw/ppc/pnv.c
hw/ppc/pnv_xscom.c
hw/ppc/ppce500_spin.c
hw/ppc/spapr.c
hw/ppc/spapr_caps.c
target/ppc/cpu_init.c
target/ppc/excp_helper.c
target/ppc/gdbstub.c
target/ppc/kvm.c
target/ppc/ppc-qmp-cmds.c
target/ppc/user_only_helper.c