diff options
Diffstat (limited to 'target/i386/mem_helper.c')
-rw-r--r-- | target/i386/mem_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/mem_helper.c b/target/i386/mem_helper.c index acf41f8885..3a6d3ae2ef 100644 --- a/target/i386/mem_helper.c +++ b/target/i386/mem_helper.c @@ -68,7 +68,7 @@ void helper_cmpxchg8b(CPUX86State *env, target_ulong a0) uint64_t *haddr = g2h(a0); cmpv = cpu_to_le64(cmpv); newv = cpu_to_le64(newv); - oldv = atomic_cmpxchg__nocheck(haddr, cmpv, newv); + oldv = qatomic_cmpxchg__nocheck(haddr, cmpv, newv); oldv = le64_to_cpu(oldv); } #else |