qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/6] ioport: remove some #ifdef DEBUG_UNUSED_IOP


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 4/6] ioport: remove some #ifdef DEBUG_UNUSED_IOPORT.
Date: Thu, 09 Jul 2009 14:10:01 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Isaku Yamahata wrote:
remove some #ifdef DEBUG_UNUSED_IOPORT in ioport.c

Signed-off-by: Isaku Yamahata <address@hidden>
---
 ioport.c |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/ioport.c b/ioport.c
index 01cfaf7..87c01b4 100644
--- a/ioport.c
+++ b/ioport.c
@@ -33,6 +33,12 @@
 //#define DEBUG_UNUSED_IOPORT
 //#define DEBUG_IOPORT
+#ifdef DEBUG_UNUSED_IOPORT
+#  define LOG_UNUSED_IOPORT(...) fprintf(stderr, __VA_ARGS__)
+#else

#define LOG_UNUSED_IOPORT(fmt, ...) fprintf(stderr, ## __VA_ARGS__)

Regards,

Anthony Liguori




reply via email to

[Prev in Thread] Current Thread [Next in Thread]