target/openrisc: Prefer fast cpu_env() over slower CPU QOM cast macro
commit074bd799e73a23b0ce05ed45f2668ceb31db144e
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 29 Jan 2024 16:45:02 +0000 (29 17:45 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 12 Mar 2024 11:04:24 +0000 (12 12:04 +0100)
treee3cdd6bcfb419fcd68eb04f891c67ec72662bc87
parent6fed7e43fa56553bb9ac9c807e8de8ade9522417
target/openrisc: 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-21-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/openrisc/gdbstub.c
target/openrisc/interrupt.c
target/openrisc/translate.c