]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - cpus.c
target/arm: Improve masking in arm_hcr_el2_eff
[thirdparty/qemu.git] / cpus.c
diff --git a/cpus.c b/cpus.c
index be2d655f371c55b03bf88f0ca7ac0f0c0501c0a9..b4f8b84b61bcd122c4f30e251541fcd5fe0f4798 100644 (file)
--- a/cpus.c
+++ b/cpus.c
@@ -53,7 +53,7 @@
 #include "qemu/bitmap.h"
 #include "qemu/seqlock.h"
 #include "qemu/guest-random.h"
-#include "tcg.h"
+#include "tcg/tcg.h"
 #include "hw/nmi.h"
 #include "sysemu/replay.h"
 #include "sysemu/runstate.h"
@@ -1839,6 +1839,11 @@ void qemu_mutex_unlock_iothread(void)
     qemu_mutex_unlock(&qemu_global_mutex);
 }
 
+void qemu_cond_wait_iothread(QemuCond *cond)
+{
+    qemu_cond_wait(cond, &qemu_global_mutex);
+}
+
 static bool all_vcpus_paused(void)
 {
     CPUState *cpu;