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:
parent
9257d46d55
commit
96284e8973
3
cpus.c
3
cpus.c
@ -32,6 +32,7 @@
|
|||||||
#include "kvm.h"
|
#include "kvm.h"
|
||||||
#include "exec-all.h"
|
#include "exec-all.h"
|
||||||
|
|
||||||
|
#include "qemu-thread.h"
|
||||||
#include "cpus.h"
|
#include "cpus.h"
|
||||||
#include "compatfd.h"
|
#include "compatfd.h"
|
||||||
|
|
||||||
@ -592,8 +593,6 @@ void vm_stop(int reason)
|
|||||||
|
|
||||||
#else /* CONFIG_IOTHREAD */
|
#else /* CONFIG_IOTHREAD */
|
||||||
|
|
||||||
#include "qemu-thread.h"
|
|
||||||
|
|
||||||
QemuMutex qemu_global_mutex;
|
QemuMutex qemu_global_mutex;
|
||||||
static QemuMutex qemu_fair_mutex;
|
static QemuMutex qemu_fair_mutex;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user