qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 1/3] Make 'qemu_init_vcpu' a function (instead of a


From: Lluís Vilanova
Subject: [Qemu-devel] [PATCH 1/3] Make 'qemu_init_vcpu' a function (instead of a macro)
Date: Wed, 21 Sep 2011 15:23:22 +0200
User-agent: StGit/0.15

Signed-off-by: Lluís Vilanova <address@hidden>
---
 qemu-common.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/qemu-common.h b/qemu-common.h
index 404c421..fca101e 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -297,7 +297,9 @@ struct qemu_work_item {
 };
 
 #ifdef CONFIG_USER_ONLY
-#define qemu_init_vcpu(env) do { } while (0)
+static inline void qemu_init_vcpu(void *env)
+{
+}
 #else
 void qemu_init_vcpu(void *env);
 #endif




reply via email to

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