]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/qemu/coroutine.h
qemu/atomic.h: rename atomic_ to qatomic_
[mirror_qemu.git] / include / qemu / coroutine.h
index dfd261c5b1f14683154ce8b0e5b937b320feaa49..84eab6e3bf7581d28083fce205c49462819bf43a 100644 (file)
@@ -179,7 +179,7 @@ static inline coroutine_fn void qemu_co_mutex_assert_locked(CoMutex *mutex)
      * because the condition will be false no matter whether we read NULL or
      * the pointer for any other coroutine.
      */
-    assert(atomic_read(&mutex->locked) &&
+    assert(qatomic_read(&mutex->locked) &&
            mutex->holder == qemu_coroutine_self());
 }