include qemu-thread.h early

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Paolo Bonzini 2011-03-12 17:43:53 +01:00 committed by Blue Swirl
parent 9257d46d55
commit 96284e8973

3
cpus.c
View File

@ -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;