From: Philippe Mathieu-Daudé <f4...@amsat.org> cpu_loop() never exits, so mark it with QEMU_NORETURN.
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-By: Warner Losh <i...@bsdimp.com> Reviewed-by: Bin Meng <bmeng...@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Warner Losh <i...@bsdimp.com> Message-Id: <20211106113916.544587-1-f4...@amsat.org> Signed-off-by: Laurent Vivier <laur...@vivier.eu> --- linux-user/user-internals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/user-internals.h b/linux-user/user-internals.h index f71f37282994..a8fdd6933b23 100644 --- a/linux-user/user-internals.h +++ b/linux-user/user-internals.h @@ -64,7 +64,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, abi_long arg5, abi_long arg6, abi_long arg7, abi_long arg8); extern __thread CPUState *thread_cpu; -void cpu_loop(CPUArchState *env); +void QEMU_NORETURN cpu_loop(CPUArchState *env); const char *target_strerror(int err); int get_osversion(void); void init_qemu_uname_release(void); -- 2.33.1