All of lore.kernel.org
 help / color / mirror / Atom feed
From: Erik de Castro Lopo <mle+tools@mega-nerd.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Patch] Fix compile problems introduced in commit 4537/4538.
Date: Fri, 23 May 2008 21:45:32 +1000	[thread overview]
Message-ID: <20080523214532.524da1ed.mle+tools@mega-nerd.com> (raw)

[-- 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, ...));


                 reply	other threads:[~2008-05-23 11:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080523214532.524da1ed.mle+tools@mega-nerd.com \
    --to=mle+tools@mega-nerd.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.