qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Patch] Fix compile problems introduced in commit 4537/4538.
@ 2008-05-23 11:45 Erik de Castro Lopo
  0 siblings, 0 replies; only message in thread
From: Erik de Castro Lopo @ 2008-05-23 11:45 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 118 bytes --]

---
 exec.c    |    2 +-
 tcg/tcg.c |    2 +-
 tcg/tcg.h |    3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)

[-- Attachment #2: 33915d941019df6245fc1268f1f8600e6b5465f4.diff --]
[-- Type: text/x-patch, Size: 1225 bytes --]

diff --git a/exec.c b/exec.c
index 7f62e71..50bde7b 100644
--- a/exec.c
+++ b/exec.c
@@ -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)
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 31962a9..c3db324 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -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
diff --git a/tcg/tcg.h b/tcg/tcg.h
index b29b548..62e866c 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -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, ...));


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-23 11:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-23 11:45 [Qemu-devel] [Patch] Fix compile problems introduced in commit 4537/4538 Erik de Castro Lopo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).