]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
accel/tcg: Remove double bswap for helper_atomic_sto_*_mmu
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 26 Jul 2021 18:10:23 +0000 (08:10 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 30 Jul 2021 18:23:12 +0000 (08:23 -1000)
This crept in as either a cut-and-paste error, or rebase error.

Fixes: cfec388518d ("atomic_template: add inline trace/plugin helpers")
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210729004647.282017-24-richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/atomic_template.h

index d89af4cc1edcdcc578f380da38eaa50deddb3c12..8098a1be3184f21bcaaf0660c56778121f42771f 100644 (file)
@@ -251,7 +251,6 @@ void ATOMIC_NAME(st)(CPUArchState *env, target_ulong addr, ABI_TYPE val,
                                          PAGE_WRITE, retaddr);
     uint16_t info = atomic_trace_st_pre(env, addr, oi);
 
-    val = BSWAP(val);
     val = BSWAP(val);
     atomic16_set(haddr, val);
     ATOMIC_MMU_CLEANUP;