summaryrefslogtreecommitdiff
path: root/cpus.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-03-12 17:43:53 +0100
committerBlue Swirl <blauwirbel@gmail.com>2011-03-13 14:44:21 +0000
commitac33b2f537d3b4f916b22425f3e248be01cf3ea4 (patch)
tree360d315deb32e77b1f5529efbe48040f8b24c5de /cpus.c
parent2be13629bfabeb0ce22762db7853596bce9ff6c8 (diff)
downloadqemu-ac33b2f537d3b4f916b22425f3e248be01cf3ea4.tar.gz
qemu-ac33b2f537d3b4f916b22425f3e248be01cf3ea4.tar.bz2
qemu-ac33b2f537d3b4f916b22425f3e248be01cf3ea4.zip
include qemu-thread.h early
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cpus.c')
-rw-r--r--cpus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpus.c b/cpus.c
index 09ce6fe9d3..c5743c4bd3 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"
@@ -592,8 +593,6 @@ void vm_stop(int reason)
#else /* CONFIG_IOTHREAD */
-#include "qemu-thread.h"
-
QemuMutex qemu_global_mutex;
static QemuMutex qemu_fair_mutex;