Patchwork [5/7] include qemu-thread.h early

login
register
mail settings
Submitter Paolo Bonzini
Date Feb. 10, 2011, 5:37 p.m.
Message ID <1297359464-9789-6-git-send-email-pbonzini@redhat.com>
Download mbox | patch
Permalink /patch/82632/
State New
Headers show

Comments

Paolo Bonzini - Feb. 10, 2011, 5:37 p.m.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: Stefan Weil <weil@mail.berlios.de>
Cc: Blue Swirl <blauwirbel@gmail.com>
---
 cpus.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Patch

diff --git a/cpus.c b/cpus.c
index 4c9928e..68b3fcb 100644
--- a/cpus.c
+++ b/cpus.c
@@ -32,6 +32,7 @@ 
 #include "kvm.h"
 #include "exec-all.h"
 
+#include "qemu-thread.h"
 #include "cpus.h"
 #include "compatfd.h"
 #ifdef CONFIG_LINUX
@@ -319,8 +320,6 @@  void vm_stop(int reason)
 
 #else /* CONFIG_IOTHREAD */
 
-#include "qemu-thread.h"
-
 QemuMutex qemu_global_mutex;
 static QemuMutex qemu_fair_mutex;