]> git.ipfire.org Git - thirdparty/qemu.git/commit - target/loongarch/cpu_helper.c
target/loongarch: Prefer fast cpu_env() over slower CPU QOM cast macro
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 29 Jan 2024 16:44:57 +0000 (17:44 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 12 Mar 2024 11:04:24 +0000 (12:04 +0100)
commitf3b603b95e7a4a47174557e18dac47e386766a13
treeb9c02511f4a8cc4cf1a9759beb52f8b117dd3d2d
parentf8436a16054a13eaf969bba9b2733ec43969f952
target/loongarch: 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.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240129164514.73104-16-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[thuth: Adjusted patch for hunk that moved to cpu_helper.c]
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/loongarch/cpu.c
target/loongarch/cpu_helper.c
target/loongarch/gdbstub.c
target/loongarch/kvm/kvm.c
target/loongarch/tcg/tlb_helper.c