]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tcg/tci.c
qemu/atomic.h: rename atomic_ to qatomic_
[mirror_qemu.git] / tcg / tci.c
index 46fe9ce63f990f3150370dd9fcfde80c6719f2a1..82039fd163d4540507e691f4e8369bf1d9b1943e 100644 (file)
--- a/tcg/tci.c
+++ b/tcg/tci.c
@@ -1115,7 +1115,7 @@ uintptr_t tcg_qemu_tb_exec(CPUArchState *env, uint8_t *tb_ptr)
         case INDEX_op_goto_tb:
             /* Jump address is aligned */
             tb_ptr = QEMU_ALIGN_PTR_UP(tb_ptr, 4);
-            t0 = atomic_read((int32_t *)tb_ptr);
+            t0 = qatomic_read((int32_t *)tb_ptr);
             tb_ptr += sizeof(int32_t);
             tci_assert(tb_ptr == old_code_ptr + op_size);
             tb_ptr += (int32_t)t0;