diff --git a/qemu/include/qom/cpu.h b/qemu/include/qom/cpu.h index 7f3f1dd4..e3a028a4 100644 --- a/qemu/include/qom/cpu.h +++ b/qemu/include/qom/cpu.h @@ -357,8 +357,7 @@ static inline void cpu_tb_jmp_cache_clear(CPUState *cpu) * * Returns: %true if we are in MTTCG mode %false otherwise. */ -extern bool mttcg_enabled; -#define qemu_tcg_mttcg_enabled() (mttcg_enabled) +#define qemu_tcg_mttcg_enabled(uc) ((uc)->mttcg_enabled) /** * cpu_paging_enabled: