From: Philippe Mathieu-Daudé Date: Tue, 19 Mar 2024 18:29:50 +0000 (+0100) Subject: hw/core: Remove check on NEED_CPU_H in tcg-cpu-ops.h X-Git-Tag: v9.1.0-rc0~135^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c3b78532ca7b92eeeef756b4c3d8c5cc82ed3ab;p=thirdparty%2Fqemu.git hw/core: Remove check on NEED_CPU_H in tcg-cpu-ops.h Commit fd3f7d24d4 ("include/hw/core: Remove i386 conditional on fake_user_interrupt") remove the need to check on NEED_CPU_H. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20240321154838.95771-3-philmd@linaro.org> --- diff --git a/include/hw/core/tcg-cpu-ops.h b/include/hw/core/tcg-cpu-ops.h index bf8ff8e3eec..dc1f16a9777 100644 --- a/include/hw/core/tcg-cpu-ops.h +++ b/include/hw/core/tcg-cpu-ops.h @@ -49,7 +49,6 @@ struct TCGCPUOps { /** @debug_excp_handler: Callback for handling debug exceptions */ void (*debug_excp_handler)(CPUState *cpu); -#ifdef NEED_CPU_H #ifdef CONFIG_USER_ONLY /** * @fake_user_interrupt: Callback for 'fake exception' handling. @@ -174,8 +173,6 @@ struct TCGCPUOps { */ bool (*need_replay_interrupt)(int interrupt_request); #endif /* !CONFIG_USER_ONLY */ -#endif /* NEED_CPU_H */ - }; #if defined(CONFIG_USER_ONLY)