user: Prefer fast cpu_env() over slower CPU QOM cast macro
commit42e62aadfdcc44215482a85da55dc4758775d790
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 29 Jan 2024 16:45:11 +0000 (29 17:45 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 12 Mar 2024 11:04:25 +0000 (12 12:04 +0100)
treeb2f8ae8c908533a674e43478a4e4bab5a49c97df
parent52049266e58e534739b9d72215930d6195dfd723
user: 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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Message-ID: <20240129164514.73104-30-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
bsd-user/signal.c
linux-user/signal.c