From: Philippe Mathieu-Daudé Date: Mon, 16 Dec 2024 16:02:50 +0000 (+0100) Subject: accel/tcg: Really restrict cpu_io_recompile() to system emulation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b7cc677478f329912fbc5c16ec36193c72aa9044;p=qemu.git accel/tcg: Really restrict cpu_io_recompile() to system emulation Commit 38fc4b11e03 ("accel/tcg: Restrict cpu_io_recompile() to system emulation") inadvertently restricted cpu_io_recompile() to SoftMMU. Correct to restrict to system emulation. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20241216160514.56630-1-philmd@linaro.org> --- diff --git a/accel/tcg/internal-target.h b/accel/tcg/internal-target.h index 1cfa318dc6..3ed81e740d 100644 --- a/accel/tcg/internal-target.h +++ b/accel/tcg/internal-target.h @@ -36,9 +36,9 @@ static inline void page_table_config_init(void) { } void page_table_config_init(void); #endif -#ifdef CONFIG_SOFTMMU +#ifndef CONFIG_USER_ONLY G_NORETURN void cpu_io_recompile(CPUState *cpu, uintptr_t retaddr); -#endif /* CONFIG_SOFTMMU */ +#endif /* CONFIG_USER_ONLY */ /** * tcg_req_mo: