mbox series

[0/2] accel/tcg: Remove qemu_tcg_mttcg_enabled()

Message ID 20230629120255.85581-1-philmd@linaro.org
Headers show
Series accel/tcg: Remove qemu_tcg_mttcg_enabled() | expand

Message

Philippe Mathieu-Daudé June 29, 2023, 12:02 p.m. UTC
Remove qemu_tcg_mttcg_enabled():
- check for CF_PARALLEL in riscv cpu_init(),
- directly check 'mttcg_enabled' in TCG code.

Philippe Mathieu-Daudé (2):
  target/riscv: Check for CF_PARALLEL instead of qemu_tcg_mttcg_enabled
  accel/tcg: Replace qemu_tcg_mttcg_enabled() by mttcg_enabled

 accel/tcg/tcg-accel-ops-mttcg.h | 8 ++++++++
 include/hw/core/cpu.h           | 9 ---------
 accel/tcg/tcg-accel-ops.c       | 2 +-
 target/riscv/cpu.c              | 2 +-
 tcg/region.c                    | 3 ++-
 5 files changed, 12 insertions(+), 12 deletions(-)