Fix compile problems introduced in commit 4537/4538.
PATCH 1/1 Fix compile problems introduced in commit 4537/4538.
--- exec.c | 2 +- tcg/tcg.c | 2 +- tcg/tcg.h | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-)
exec.c +1 -1
@@ -3011,7 +3011,7 @@ void dump_exec_info(FILE *f,cpu_fprintf (f,"TB flush count %d\n" , tb_flush_count);cpu_fprintf (f,"TB invalidate count %d\n" , tb_phys_invalidate_count);cpu_fprintf (f,"TLB flush count %d\n" , tlb_flush_count); -tcg_dump_info (f, cpu_fprintf); +dump_tcg_info (f, cpu_fprintf); }#if !defined(CONFIG_USER_ONLY )
tcg/tcg.c +1 -1
@@ -2036,6 +2036,6 @@ void tcg_dump_info(FILE *f,void dump_tcg_info (FILE *f,int (*cpu_fprintf)(FILE *f,const char *fmt, ...)) { -cpu_fprintf ("[TCG profiler not compiled]\n" ); +cpu_fprintf (f,"[TCG profiler not compiled]\n" ); }#endif
tcg/tcg.h +3 -0
@@ -400,3 +400,6 @@ uint64_t tcg_helper_remu_i64(uint64_t arg1, uint64_t arg2);extern uint8_t code_gen_prologue[];#define tcg_qemu_tb_exec (tb_ptr) ((long REGPARM (*)(void *))code_gen_prologue)(tb_ptr) + +void dump_tcg_info (FILE *f, +int (*cpu_fprintf)(FILE *f,const char *fmt, ...));