From 166a4b6e43b8904a150a946243457b7db9567c67 Mon Sep 17 00:00:00 2001 From: Philippe Mathieu-Daudé Date: Fri, 22 Nov 2024 17:56:56 +0100 Subject: user: Declare cpu_loop() once in 'user/cpu_loop.h' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Declare cpu_loop() once in "user/cpu_loop.h". bsd-user gets the G_NORETURN attribute. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson Message-Id: <20241212185341.2857-18-philmd@linaro.org> --- bsd-user/i386/target_arch_cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsd-user/i386/target_arch_cpu.h') diff --git a/bsd-user/i386/target_arch_cpu.h b/bsd-user/i386/target_arch_cpu.h index 9bf2c4244b..5d4c931dec 100644 --- a/bsd-user/i386/target_arch_cpu.h +++ b/bsd-user/i386/target_arch_cpu.h @@ -102,7 +102,7 @@ static inline void target_cpu_init(CPUX86State *env, env->segs[R_FS].selector = 0; } -static inline void target_cpu_loop(CPUX86State *env) +static inline G_NORETURN void target_cpu_loop(CPUX86State *env) { CPUState *cs = env_cpu(env); int trapnr; -- cgit 1.4.1