From: Paolo Bonzini Date: Sat, 12 Mar 2011 16:43:53 +0000 (+0100) Subject: include qemu-thread.h early X-Git-Tag: v0.15.0-rc0~720 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96284e8973fe8d8556ef5d4aefa0807b9f22907c;p=thirdparty%2Fqemu.git include qemu-thread.h early Signed-off-by: Paolo Bonzini Signed-off-by: Blue Swirl --- diff --git a/cpus.c b/cpus.c index 09ce6fe9d36..c5743c4bd3b 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;