qemu-e2k/target/i386/whpx
Philippe Mathieu-Daudé 94956d7b51 bulk: Call in place single use cpu_env()
Avoid CPUArchState local variable when cpu_env() is used once.

Mechanical patch using the following Coccinelle spatch script:

 @@
 type CPUArchState;
 identifier env;
 expression cs;
 @@
  {
 -    CPUArchState *env = cpu_env(cs);
      ... when != env
 -     env
 +     cpu_env(cs)
      ... when != env
  }

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240129164514.73104-5-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2024-03-12 11:46:16 +01:00
..
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
whpx-accel-ops.c qemu/main-loop: rename qemu_cond_wait_iothread() to qemu_cond_wait_bql() 2024-01-08 10:45:43 -05:00
whpx-accel-ops.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
whpx-all.c bulk: Call in place single use cpu_env() 2024-03-12 11:46:16 +01:00
whpx-apic.c apic, i386/tcg: add x2apic transitions 2024-02-14 06:09:32 -05:00
whpx-internal.h accel: Re-enable WHPX cross-build on case sensitive filesystems 2023-06-28 13:55:35 +02:00