From: Richard Henderson Date: Thu, 8 Jan 2026 00:27:14 +0000 (+1100) Subject: accel/tcg: Drop CONFIG_ATOMIC64 test from translator.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5efc6083dee5ad5730d7add45a378308299b1622;p=thirdparty%2Fqemu.git accel/tcg: Drop CONFIG_ATOMIC64 test from translator.c Reviewed-by: Pierrick Bouvier Signed-off-by: Richard Henderson --- diff --git a/accel/tcg/translator.c b/accel/tcg/translator.c index 034f2f359e..f3eddcbb2e 100644 --- a/accel/tcg/translator.c +++ b/accel/tcg/translator.c @@ -352,15 +352,13 @@ static bool translator_ld(CPUArchState *env, DisasContextBase *db, return true; } break; -#ifdef CONFIG_ATOMIC64 case 8: if (QEMU_IS_ALIGNED(pc, 8)) { - uint64_t t = qatomic_read__nocheck((uint64_t *)host); + uint64_t t = qatomic_read((uint64_t *)host); stq_he_p(dest, t); return true; } break; -#endif } /* Unaligned or partial read from the second page is not atomic. */ memcpy(dest, host, len);