diff mbox

[2/2] Add QEMU_NORETURN to function cpu_io_recompile

Message ID 1333780821-15593-2-git-send-email-sw@weilnetz.de
State Superseded
Headers show

Commit Message

Stefan Weil April 7, 2012, 6:40 a.m. UTC
cpu_io_recompile terminates by calling either cpu_abort or
cpu_resume_from_signal which both never return.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 exec-all.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/exec-all.h b/exec-all.h
index cd283dd..526e65c 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -87,7 +87,7 @@  int cpu_gen_code(CPUArchState *env, struct TranslationBlock *tb,
 int cpu_restore_state(struct TranslationBlock *tb,
                       CPUArchState *env, unsigned long searched_pc);
 void QEMU_NORETURN cpu_resume_from_signal(CPUArchState *env1, void *puc);
-void cpu_io_recompile(CPUArchState *env, void *retaddr);
+void QEMU_NORETURN cpu_io_recompile(CPUArchState *env, void *retaddr);
 TranslationBlock *tb_gen_code(CPUArchState *env, 
                               target_ulong pc, target_ulong cs_base, int flags,
                               int cflags);